Sha256: d67d6c6c6eef2043e6375bb8f37439cfd3735742ee1228e52ca58140a8318cca

Contents?: true

Size: 217 Bytes

Versions: 9

Compression:

Stored size: 217 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

9 entries across 9 versions & 1 rubygems

Version Path
simple_slug-0.3.5 lib/simple_slug/railtie.rb
simple_slug-0.3.4 lib/simple_slug/railtie.rb
simple_slug-0.3.3 lib/simple_slug/railtie.rb
simple_slug-0.3.2 lib/simple_slug/railtie.rb
simple_slug-0.3.1 lib/simple_slug/railtie.rb
simple_slug-0.3.0 lib/simple_slug/railtie.rb
simple_slug-0.2.0 lib/simple_slug/railtie.rb
simple_slug-0.1.0 lib/simple_slug/railtie.rb
simple_slug-0.0.1 lib/simple_slug/railtie.rb