Activerecord I18N Defaults plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install git://github.com/dcrec1/activerecord_i18n_defaults.git
USAGE
================
Define your ActiveRecord default attributes like this:
en-US:
activerecord:
attributes:
_all:
login: "Login"
admin:
login: "Custom Login"
user:
name: "Name"
Then use the I18n API as usual. If an attribute for a model is not found, it will be searched in _all atributes.
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, about 1 year ago


