[Rails] Re: Rails Console Sandbox : .save | .create

2012-05-25 Thread Francesco DG
Thank you Fred ! Meanwhile I simply realized that I had to submit a new user with all attributes and not just 2 : > that was why the validation did not work and the transaction was rolled back. Thanks for the user2.errors hint... Francesco On Friday, May 25, 2012 10:16:59 AM UTC+2, Frederick

[Rails] Re: Rails Console Sandbox : .save | .create

2012-05-25 Thread Frederick Cheung
On May 24, 2:58 pm, Francesco De Grandi wrote: > At the end of Rails Tutorial chapter 6, I have the > development .sqlite3 db : 1 table and 1 row (= user id:1 see below) : > > > when running from the Rails Concole Sandbox, to create other rows/records, > > I can not save or create > > here is w