On 7 April 2015 at 18:41, Sachin Talreja <[email protected]> wrote:
> However, I made a sample blogging application in my system. I am able to
> insert a record in DB through console. But I am not been able to insert
> data through my application, don't know what I am doing wrong in that.

Have you specified attr_accessible for the fields?
If, when you do that, then you get a different error then that is the
error that you must address.

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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsC0xxdM8%2BrM%2BGBy6LBM5u%3DQgZ7Ra5BjMT5fReV5JOFqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to