Hey all,

I'm proposing/working on a change to ActionController:Params wrapper to 
fixup what I think is kind of limited behavior. Looking for feedback (good 
idea/bad idea) and recommendations about how to go about it.


I described use case and and problem in detail here.
https://github.com/rails/rails/issues/16222

The gist:

the :include option doesn't work the same in this situation as it does in 
say ActiveRecord::to_json. I want to use the :include option to specify 
additional parameters to wrap, not exclusive parameters to wrap.
For exclusive parameters there should be an option called :only.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to