Jonathan Julian
Not a member
Jonathan Julian's latest activity
Thursday, November 18 2010
-
Jonathan Julian commented at 4:35 AMThis also raises when
exists?is called on an association with an:include. Note that it only raises when it should return true. ActiveRecord 3.0.2A workaround...
Wednesday, June 30 2010
-
Jonathan Julian commented at 6:50 PMAck! Don't close this!
Remember that the caller can get a hash representation by invoking as_json by hand, passing the options hash. This ticket describes the p...
-
Jonathan Julian commented at 6:01 PM@Neeraj: Try this: remove the
as_jsondefinition from your AR class, and change your controller to do:format.json { render :json => @users.as_json(:only => [...
Tuesday, May 18 2010
-
Jonathan Julian commented at 2:45 PMI think ActiveSupport 2.3.x needs to provide an as_json implementation that calls as_json(options) on each array element. This is not limited to ActiveRecord.
...
Sunday, April 04 2010
-
Jonathan Julian commented at 4:45 PMAnother way to describe this:
as_jsonoptions are not passed down to each element of an array of ActiveRecord objects. In the first example, all the attributes ...