John Firebaugh
Not a member
John Firebaugh's latest activity
Thursday, April 07 2011
-
John Firebaugh commented at 8:44 PMAnother issue: TrueClass, FalseClass, and NilClass return an ActiveSupport::JSON::Variable from #as_json. Instead, they should return self and override encode_j...
Wednesday, April 06 2011
-
- State changed from stale to open
I agree. It would be very useful to have the following invariant:
∀o, o.as_json == JSON.parse(o.to_json)
The principal violator is ActiveModel::Serializers::JSO...
Friday, April 01 2011
Monday, March 21 2011
Tuesday, February 22 2011
Thursday, December 23 2010
-
John Firebaugh commented at 9:59 PMJosé beat me to it: https://github.com/rails/rails/commit/819b8cae40623d26ce3c050d482b4...
Sam, does that fix the failure?
-
John Firebaugh commented at 4:47 PMReloading is no longer happening after a request that raises an exception. I'll have a patch shortly.
Sunday, December 19 2010
Thursday, December 09 2010
-
John Firebaugh commented at 12:58 AMA custom #as_json definition should usually call Array#as_json or Hash#as_json itself. For example, the correct definition in the example above is:
class Base ...
Tuesday, November 30 2010
-
John Firebaugh commented at 9:41 PMAs Martin alludes to, the proc assigned to
response_bodyis mistakenly executed twice. This is becauseActionDispatch::Responseoverrides#body(defined inRack...