Sha256: 449a5735ab87908f5db583e719ad109c724c06a6e58222d3e603f6f82d1c7398

Contents?: true

Size: 215 Bytes

Versions: 6

Compression:

Stored size: 215 Bytes

Contents

module SimpleSlug
  class Railtie < Rails::Railtie
    initializer 'simple_slug.model_additions' do
      ActiveSupport.on_load :active_record do
        include SimpleSlug::ModelAddition
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_slug-0.4.5 lib/simple_slug/railtie.rb
simple_slug-0.4.4 lib/simple_slug/railtie.rb
simple_slug-0.4.3 lib/simple_slug/railtie.rb
simple_slug-0.4.2 lib/simple_slug/railtie.rb
simple_slug-0.4.1 lib/simple_slug/railtie.rb
simple_slug-0.4.0 lib/simple_slug/railtie.rb