search for: schlutzenberg

Displaying 1 result from an estimated 1 matches for "schlutzenberg".

2009 Jan 31
0
save after delete returns true but actually fails
Hi, I''m using Rails 2.2.2. I noticed that creating two references to the same database ActiveRecord object, then deleting with one of them, followed by saving with the other, true is returned, but no new record is actually saved. e.g.: doc=Document.new(:title => "sam''s speciality") doc.save doc.id # ==> 23 doc2=Document.find_by_title("sam''s