Update to rails 3.2.0

This commit is contained in:
Tom Hughes 2012-01-21 00:40:09 +00:00
parent 3d01016980
commit ee411e5154
8 changed files with 92 additions and 73 deletions

View file

@ -9,10 +9,8 @@ ActionMailer::Base.smtp_settings = {
# Monkey patch to allow sending of messages in specific locales
module ActionMailer
class Base
adv_attr_accessor :locale
def mail_with_locale(*args)
old_locale= I18n.locale
old_locale = I18n.locale
begin
I18n.locale = @locale

View file

@ -8,3 +8,8 @@
# inflect.irregular 'person', 'people'
# inflect.uncountable %w( fish sheep )
# end
#
# These inflection rules are supported but not enabled by default:
# ActiveSupport::Inflector.inflections do |inflect|
# inflect.acronym 'RESTful'
# end