You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With raise_exception set, I had a bunch of controllers that weren't erroring out as I expected. I found this code that seems to assume that if it specifies a format, even if it's something like :json, that it won't treat it as an old method.
It looks like it was deliberately added as part of #12, but there's no explanation of the exclusion. Is this a bug or is there a good reason I'm missing?
It would make sense to me for a presentational type, like :html, perhaps, but not for data payload types.
With
raise_exceptionset, I had a bunch of controllers that weren't erroring out as I expected. I found this code that seems to assume that if it specifies aformat, even if it's something like:json, that it won't treat it as an old method.It looks like it was deliberately added as part of #12, but there's no explanation of the exclusion. Is this a bug or is there a good reason I'm missing?
It would make sense to me for a presentational type, like
:html, perhaps, but not for data payload types.