Sha256: 149aae03b84eb54eb50ad4a76327456bcae23e82a386e58cfc077814c94d8b60
Contents?: true
Size: 603 Bytes
Versions: 1
Compression:
Stored size: 603 Bytes
Contents
module GettextI18nRails class Railtie < ::Rails::Railtie config.gettext_i18n_rails = ActiveSupport::OrderedOptions.new config.gettext_i18n_rails.msgmerge = nil config.gettext_i18n_rails.xgettext = nil config.gettext_i18n_rails.use_for_active_record_attributes = true rake_tasks do require 'gettext_i18n_rails/tasks' end config.after_initialize do |app| if app.config.gettext_i18n_rails.use_for_active_record_attributes ActiveSupport.on_load :active_record do require 'gettext_i18n_rails/active_model' end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gettext_i18n_rails-1.0.0 | lib/gettext_i18n_rails/railtie.rb |