Ruby on Rails Wednesday, August 21, 2013

On 20 August 2013 22:19, <maryguryanova@gmail.com> wrote:
> 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.
>
> So here is my code:
> http://stackoverflow.com/questions/18329452/cannot-save-object-to-database-rails-3
>
> Please take a glance and help me to understand where I am wrong.
> All help is highly appreciated.

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

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvfc70jT91XFPHQxHE79tFmf0%3DU-jdu1_xM_fCfEikvRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment