Path: | lib/active_support/vendor/i18n-0.4.1/i18n/backend/active_record/store_procs.rb |
Last Update: | Fri Apr 05 21:24:42 +0000 2013 |
This module is intended to be mixed into the ActiveRecord backend to allow storing Ruby Procs as translation values in the database.
I18n.backend = I18n::Backend::ActiveRecord.new I18n::Backend::ActiveRecord::Translation.send(:include, I18n::Backend::ActiveRecord::StoreProcs)
The StoreProcs module requires the ParseTree and ruby2ruby gems and therefor was extracted from the original backend.
ParseTree is not compatible with Ruby 1.9.