Ruby on Rails Monday, December 1, 2014

Hassan Schroeder wrote in post #1163800:
> On Mon, Dec 1, 2014 at 6:15 PM, Dmoneyzzz Darko <lists@ruby-forum.com>
> wrote:
>
>> out how to get the select in the form to create and update info to send
>> to the db.
>
> You should look at the log file to see exactly what parameters are
> being sent to your create action.
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan

[1m[35mSQL (1.0ms)[0m INSERT INTO "physicians" ("created_at", "name",
"updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-02
00:33:48.986623"], ["name", "Lewis Louis"], ["updated_at", "2014-12-02
00:33:48.986623"]]
[1m[36m (2.0ms)[0m [1mcommit transaction[0m

These are the parameters that are being transferred to the db. So now I
need to find the location of these parameters in my controller, right?

--
Posted via http://www.ruby-forum.com/.

--
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/626086f315af3056db65101155bab4e2%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment