Sha256: 697256e9ff73fab73ee7d1f500858566f53d825130fad99865bd4f2ff0dc1983

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

require 'simple_model_translations'
require 'rails'

module SimpleModelTranslations
  class Railtie < Rails::Railtie    
    initializer "simple_model_translations.active_record" do
      ActiveSupport.on_load :active_record do
        extend SimpleModelTranslations::Base
        extend SimpleModelTranslations::Validations
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_model_translations-0.2.8 lib/simple_model_translations/railtie.rb