Sha256: 025fadc903a89df2e481550c3c17fde6b90e12d657c1c683a484469753f3ad64

Contents?: true

Size: 198 Bytes

Versions: 3

Compression:

Stored size: 198 Bytes

Contents

require 'i18n/backend/active_record'
I18n.backend = I18n::Backend::ActiveRecord.new

I18n::Backend::ActiveRecord.configure do |config|
  # config.cleanup_with_destroy = true # defaults to false
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
i18n-active_record-0.4.1 lib/generators/i18n/active_record/templates/simple_initializer.rb.erb
i18n-active_record-0.4.0 lib/generators/i18n/active_record/templates/simple_initializer.rb.erb
i18n-active_record-0.3.0 lib/generators/i18n/active_record/templates/simple_initializer.rb.erb