Have a look at the Rails Guide on Debugging which will show you
techniques that you can use to debug your code. The first thing to do
(which is the case when debugging any code) is to find which bit is
failing. You can look in the log to check that the correct data is
being posted and then use the debugging techniques in the controller
to see why it is not being saved.
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-ta...@googlegroups.com.
> To post to this group, send email to
rubyonra...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/rubyonrails-talk/-/ctaTsEst1FIJ.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>