This repository has been archived by the owner. It is now read-only.
Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Very simple Rails plugin that introduces I18n.with_scope()
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
I18n-with-scope =============== This is a very simple plugin that adds a with_scope method to Rails' I18n module. Example ======= Instead of I18n.with_options :scope => [:activerecord, :errors] do |locale| locale.t(:invalid) end you can use I18n.with_scope [:activerecord, :errors] do |locale| locale.t(:invalid) end Copyright (c) 2009 André Wendt, released under the MIT license