File: railtie.rb

package info (click to toggle)
ruby-foreigner 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 212 kB
  • ctags: 127
  • sloc: ruby: 720; makefile: 3
file content (9 lines) | stat: -rw-r--r-- 190 bytes parent folder | download
1
2
3
4
5
6
7
8
9
module Foreigner
  class Railtie < Rails::Railtie
    initializer 'foreigner.load_adapter' do
      ActiveSupport.on_load :active_record do
        Foreigner.load
      end
    end
  end
end