mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
add human_name and value to ar validation #generate_message
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user