On Thursday, 18 April 2013 15:19:09 UTC-4, rob...@capansis.com wrote:
>
> Hi Frederick,
>
> Thanks for the help, disabling wrap_parameters in my initializer fixed my
> problem. Reason why I am setting the content type for the GET is just
> because I have jQuery to always ask for JSON. I could
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 &&
!
Hi Frederick,
Thanks for the help, disabling wrap_parameters in my initializer fixed my
problem. Reason why I am setting the content type for the GET is just
because I have jQuery to always ask for JSON. I could probably set it to
only send the header on POST/PUT requests, but I would still h
On Thursday, April 18, 2013 5:10:14 AM UTC+1, rob...@capansis.com wrote:
> Howdy,
>
>
>
> Is there any way I can just turn off this functionality? I think it might be
> because this is an EventsController, and Rails is trying to give me something
> for free, but I just want to send over what
4 matches
Mail list logo