diff options
Diffstat (limited to 'activerecord/test/models/company_in_module.rb')
-rw-r--r-- | activerecord/test/models/company_in_module.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/models/company_in_module.rb b/activerecord/test/models/company_in_module.rb index e035a80ab8..682f99e365 100644 --- a/activerecord/test/models/company_in_module.rb +++ b/activerecord/test/models/company_in_module.rb @@ -90,9 +90,9 @@ module MyApplication protected - def check_empty_credit_limit - errors.add("credit_card", :blank) if credit_card.blank? - end + def check_empty_credit_limit + errors.add("credit_card", :blank) if credit_card.blank? + end end end end |