add human_name and value to ar validation #generate_message

This commit is contained in:
Sven Fuchs
2008-08-20 17:51:42 +02:00
parent e2b191681e
commit a6a62004c9
2 changed files with 4 additions and 4 deletions

View File

@@ -39,8 +39,8 @@ class ActiveRecordI18nTests < Test::Unit::TestCase
end
private
def reset_translations
I18n.backend.send(:class_variable_set, :@@translations, {})
end
def reset_translations
I18n.backend = I18n::Backend::Simple.new
end
end