Forum: Ruby on Rails reload

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.
15dc7f342186f098d2987a61892c5431?d=identicon&s=25 prabu (Guest)
on 2007-03-06 06: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
    send_shipment_test(old_score)
  end

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.