aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migrator_test.rb
diff options
context:
space:
mode:
authorwangjohn <wangjohn@mit.edu>2013-09-24 13:04:32 -0500
committerwangjohn <wangjohn@mit.edu>2013-09-24 13:22:59 -0500
commit3ecf26f48ae10b9d11b2db867fa57cf25ee99bed (patch)
tree531a58ecfda6342ffb0b2c645549989c1e251f3c /activerecord/test/cases/migrator_test.rb
parentb1178aef3b44bd9e0153d2c4f8a2a2a590949999 (diff)
downloadrails-3ecf26f48ae10b9d11b2db867fa57cf25ee99bed.tar.gz
rails-3ecf26f48ae10b9d11b2db867fa57cf25ee99bed.tar.bz2
rails-3ecf26f48ae10b9d11b2db867fa57cf25ee99bed.zip
assign_attributes should return if argument is blank.
If you are passed an empty hash, then assign_attributes doesn't need to do any work and can just return early. This should fix the failing Agile Web Development tests.
Diffstat (limited to 'activerecord/test/cases/migrator_test.rb')
0 files changed, 0 insertions, 0 deletions