Cannot save object instance to database (Rails 3)

23 views
Skip to first unread message

marygu...@gmail.com

unread,
Aug 20, 2013, 5:19:44 PM8/20/13
to rubyonra...@googlegroups.com
Hi all!
I'm pretty new to Rails and got stuck a little.
I'm trying to create new object instance via "new" form but nothing happens. I just get the same form (refreshed and empty) and all parameter that I had typed serialized in address bar after ?
I tried to find help on stackoverflow, but we all together couldn't figure out where is the error.


Please take a glance and help me to understand where I am wrong.
All help is highly appreciated.

Colin Law

unread,
Aug 21, 2013, 3:30:22 AM8/21/13
to rubyonra...@googlegroups.com
First look in development.log to see what is happening.

Also have a look at the Rails Guide on Debugging to see techniques
that can be used to debug your code.

Colin
Reply all
Reply to author
Forward
0 new messages