[Rails 5] Exception response format

17 views
Skip to first unread message

Charles FD

unread,
Apr 8, 2016, 5:09:15 PM4/8/16
to Ruby on Rails: Core
Hi,

I began to work on the latest version of Rails 5 to make an app with an API thinking that with the merge of Rails-API, I will be able to clearly separate the expected behaviors but I'm encontering some problems with the exception rendering.

Is there a way to have exception as json when using ActionController inherited controllers and as default when using ApplicationController?

Reply all
Reply to author
Forward
0 new messages