Forum: Ruby on Rails reload

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
prabu (Guest)
on 2007-03-06 07:37
(Received via mailing list)
def test_invalid_first_week_ship_score
      Swap.find(1).update_attributes(:swap_status_id => 1)
     users(:jacob).update_attribute(:score, 1)
    old_score = users(:jacob).reload.score
     login_as :jacob

the above example how the reload works
users(:jacob) is a fixture
actually what happened whether the fixture data is reload or
update_attribute data is reload?
please explain
This topic is locked and can not be replied to.