Rails 1.2.1 reload of active record changed?

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?

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

On Jan 29, 5:51 pm, Siarhei D. [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs