Rails 1.2.1 reload of active record changed?


#1

Hi All,

I have a following test case:
def test_update_settings
assert @unit.setting!=nil
assert_equal @unit.setting,@current_setting
@unit.setting.mode = true
assert @unit.save
@unit.reload
assert @unit.setting.mode
end

Which worked (and still works on 1.1.6) pretty well before the upgrade
to 1.2.1 and now the last assertion fails.
Any ideas?


#2

Try posting your question on refwell.com You might find the answer
there

On Jan 29, 5:51 pm, Siarhei D. removed_email_address@domain.invalid