Vladimir Prieto wrote:
> i got to merge a hash of parameters for every action for every
> controller.  the only thing i could image is modifying a super class
> method.
> 
> so, how could i modify the method that take care of setting up the
> parameters? is it ActionController.parameters?

I can't imagine why you would need to do something like this, but it 
seems likely you could do what you want with a piece of custom Rack 
middleware:

http://guides.rails.info/rails_on_rack.html#action-controller-middleware-stack

You could probably insert your middleware somewhere after the 
ActionController::ParamsParser internal middleware.
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to