Ruby on Rails Thursday, September 12, 2013

On Thu, Sep 12, 2013 at 11:52 AM, Robert Walker <lists@ruby-forum.com> wrote:

>> Params are strings by definition; can you provide a test case/code
>> that demonstrates where this is not the case?
>
> Not necessarily the case. For example the create and update actions in a
> users_controller will likely contain the user model in the params hash...

Meh, you're right. I was thinking of the over-the-wire definition of
HTTP parameter name/value pairs but yes, at the controller level
Rails has already decided certain representations are more than
that.

Never mind!

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
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/CACmC4yA5%3DAyWG_iabSeQ3CQW5bwBjoOS%3DfRpEKB1j%3DvS2aD%3D%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment