Ruby on Rails Tuesday, August 24, 2010

Oh, and also there is code in ActionController to pull the params out
of the request object and into the controller, which is why you can do
params[:value] in the controller.

http://github.com/rails/rails/blob/master/actionpack/lib/action_controller/metal.rb#L87

On Aug 24, 3:29 pm, Tim Shaffer <timshaf...@me.com> wrote:
> I believe it's actually part of Rack.
>
> Check out the Rack::Request class, and I think you will find what
> you're looking for. Specifically starting at line 165
>
> http://github.com/chneukirchen/rack/blob/master/lib/rack/request.rb#L165

--
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.

No comments:

Post a Comment