Sha256: d1cd4a76bf8f3931ba555904d8b056a1aed5cacf0733262558d0b8bb87aea619

Contents?: true

Size: 356 Bytes

Versions: 6

Compression:

Stored size: 356 Bytes

Contents

# Rails 3 initialization
module Symbolize
  # if defined? Rails::Railtie
  #   require 'rails'
  #   class Railtie < Rails::Railtie
  #     initializer 'symbolize.insert_into_active_record' do
  #       ActiveSupport.on_load :active_record do
  #         ActiveRecord::Base.extend(Symbolize::ClassMethods)
  #       end
  #     end
  #   end
  # end
end


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
symbolize-4.2.0 lib/symbolize/railtie.rb
symbolize-4.1.0 lib/symbolize/railtie.rb
symbolize-4.0.4 lib/symbolize/railtie.rb
symbolize-4.0.3 lib/symbolize/railtie.rb
symbolize-4.0.2 lib/symbolize/railtie.rb
symbolize-4.0.1 lib/symbolize/railtie.rb