Sha256: 9ee7bba5d3b19cee2dce17e7b71b240a23202d087a50cf3a4e2e02f2758dcf25

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

module Translatable
  class Railtie < ::Rails::Railtie
    initializer 'translatable.initialize' do
      ActiveSupport.on_load :active_record do
        include Translatable::ActsAsTranslatable
        require 'translatable/translated_word'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ar-translatable-0.2.0 lib/translatable/railtie.rb