RubyGems.org

Translate using i18n and scope it according to the object's place in Ruby's hierarchial structure. Using ancestors to build up the default option of I18n.translate. Works in much the same way as ActiveRecords human_attribute_name

installgem install object_scoped_i18n
Authors

Iain Hecker

1,020 total downloads 1,020 for this version
Owners

42ec9fd08c179b547dcb60d977e29941

Gemfile
gem "object_scoped_i18n", "~> 0.1.0"
Versions
  1. 0.1.0 December 12, 2009
Runtime Dependencies
  1. i18n >= 0
Development Dependencies
  1. rspec >= 1.2.9