Is there meaning of adding a check of method type (GET or POST/PUT) to 
ParamsWrapper#_wrapper_enabled?

For example:


def _wrapper_enabled?
       return false if request.get?
       ref = request.content_mime_type.try(:ref)
       _wrapper_formats.include?(ref) && _wrapper_key &&             
 !request.request_parameters[_wrapper_key]
end

-- 
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+unsubscr...@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/ccda402e-29ce-49be-b3fc-0548dda3e2c1%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to