aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/i18n_test.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-03-04 11:43:16 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-03-04 11:46:30 -0300
commit9b9357b26eb24a55cfdcfca25bcaede72bd7902e (patch)
treef1fa92be7e5a6a1efe716e221d357868f980eac8 /activerecord/test/cases/i18n_test.rb
parent9a2e164d733216b13dce7c766600b8b6ae9c9b12 (diff)
downloadrails-9b9357b26eb24a55cfdcfca25bcaede72bd7902e.tar.gz
rails-9b9357b26eb24a55cfdcfca25bcaede72bd7902e.tar.bz2
rails-9b9357b26eb24a55cfdcfca25bcaede72bd7902e.zip
Initialize @stale_state to nil in association
This apparently fix the warning related to @new_record variable not being initialized in AR's test suit, when an association is built and the object is marshalled/loaded. See these tests in AR's base_test.rb: test_marshalling_with_associations test_marshalling_new_record_round_trip_with_associations Closes #3720.
Diffstat (limited to 'activerecord/test/cases/i18n_test.rb')
0 files changed, 0 insertions, 0 deletions