Sha256: c4edbc793f14539937e78b2d31151ce6dc4e49d51ce438fd894c7616d28dff85
Contents?: true
Size: 260 Bytes
Versions: 2
Compression:
Stored size: 260 Bytes
Contents
module RailsSlugs class Railtie < ::Rails::Railtie initializer 'rails_slugs' do ::ActiveRecord::Relation.send :include, RailsSlugs::ActiveRecord::Relation ::ActiveRecord::Base.send :include, RailsSlugs::ActiveRecord::Base end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_slugs-1.0.10 | lib/rails_slugs/railtie.rb |
rails_slugs-1.0.9 | lib/rails_slugs/railtie.rb |