Sha256: 45eb1b65ac64c3b212542a2fd18d748cc291cc033e8b4ae9e0756ef7a99bc982

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

module HasTranslations
  class Railtie < Rails::Railtie
    initializer 'has_translations.model_additions' do
      ActiveSupport.on_load :active_record do
        include ModelAdditions
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
has_translations-1.1.2 lib/has_translations/railtie.rb
has_translations-1.1.1 lib/has_translations/railtie.rb
has_translations-1.1.0 lib/has_translations/railtie.rb
has_translations-1.0.0 lib/has_translations/railtie.rb