does create action see params from the form or only methods of the object created by the form

11 views
Skip to first unread message

fugee ohu

unread,
Jul 8, 2017, 10:02:10 PM7/8/17
to Ruby on Rails: Talk
It seems I've already asked my own question but haven't answered it yet =D

Colin Law

unread,
Jul 9, 2017, 3:12:44 AM7/9/17
to Ruby on Rails: Talk
On 9 July 2017 at 03:02, fugee ohu <fuge...@gmail.com> wrote:
> It seems I've already asked my own question but haven't answered it yet =D

The question in the subject is meaningless. At least to me.

Colin

fugee ohu

unread,
Jul 20, 2017, 1:48:46 AM7/20/17
to Ruby on Rails: Talk


When the forms submitted the data's in the the @object and also in params?

Colin Law

unread,
Jul 20, 2017, 3:16:22 AM7/20/17
to Ruby on Rails: Talk
All the data ends up in params. Look in the log to see what is there.
You will find the answer much quicker than asking here.

Colin
Reply all
Reply to author
Forward
0 new messages