Forum: Ruby on Rails Rails 1.2.1 reload of active record changed?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Siarhei D. (Guest)
on 2007-01-29 18:51
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?
alex (Guest)
on 2007-02-01 13:01
(Received via mailing list)
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>
This topic is locked and can not be replied to.