johnnypez
Not a member
johnnypez's latest activity
Tuesday, October 19 2010
5841
Unexpected behavior of render :json => obj
was updated
in Ruby on Rails
-
johnnypez commented at 5:50 PMHi,
sorry I left that out, long day.The object is completely basic subclass of Exception
class ApiException < Exception def to_json return { :error =... -
johnnypez created the ticket at 5:19 PMHi,
I hit this unexpected behaviour I callrender :json => objin my controller and also usingrespond_with objwhere JSON output is expected.
I have tracked th...