[Rails] Re: New to rails, a little model help please
Also, here are the params passed to the server
"player"=>
{
"first_name"=>"Alex",
"last_name"=>"Zwinge",
"email_address"=>"poolshark1172@hotmail.com",
"password"=>"[FILTERED]",
"password_confirmation"=>"[FILTERED]",
"phone_number"=>"512-492-5708",
"rating"=>"1", <---- correct value
"city"=>"1",
"gender"=>"0"
},
"commit"=>"Register",
"controller"=>"players",
"action"=>"create"
--
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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home