Sha256: 6392ce5b1d65156e111eb62df0ea3fde6d1e98bdb667dbd348ddde418f066f41

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.1.0 lib/translatable/railtie.rb