Model.create(!) doesn't add to database, no errors..


I am trying to get form submitted data be submitted to my database, however not matter what I try it won't work. in script/console Model.create(args) adds to the database just fine.

pastie is here

I've tried .create(!), .save after it, and in the action index. Thanks for any help

Could you post your code so we can take a look at the actual actions?


The correct syntax is


with the bang/exclamation point (!) after create, before the parentheses (not in them).


Regards Kieran