Sha256: 0af6c08da925eb50c3e29dc65fe7ca128f5a25e3a937f4e0e07649ec307ffe3e

Contents?: true

Size: 239 Bytes

Versions: 7

Compression:

Stored size: 239 Bytes

Contents

module Genderize
  class Engine < ::Rails::Engine

    initializer "genderize.extend_active_record" do

      if defined?(::ActiveRecord::Base)
        ::ActiveRecord::Base.send(:include, Genderize)
      end
      
    end
    
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
genderize-0.1.1 lib/genderize/engine.rb
genderize-0.1.0 lib/genderize/engine.rb
genderize-0.0.8 lib/genderize/engine.rb
genderize-0.0.7 lib/genderize/engine.rb
genderize-0.0.6 lib/genderize/engine.rb
genderize-0.0.5 lib/genderize/engine.rb
genderize-0.0.4 lib/genderize/engine.rb