Displaying 1 result from an estimated 1 matches for "accountitem".
2009 Jan 11
6
Why does ActiveRecord allow perception of success when updating an ID, however it doesn't really work(i.e. no change in database)?
Hi,
Why does ActiveRecord allow perception of success when updating an ID,
however it doesn''t really work(i.e. no change in database)?
Here''s an example. The update of "id" versus update of a non-existent
attribute.
?> ai = AccountItem.find(:first) => #<AccountItem id: 1, account_id: 1,
date: "2009-01-11", amount: #<BigDecimal:22fb334,''0.1E2'',4(8)>, balance:
#<BigDecimal:22fb1f4,''0.0'',4(8)>, description: "test", notes: nil,
created_at: "2009-01-11 09:4...