Joe Martinez
Not a member
Joe Martinez's latest activity
Thursday, August 27 2009
2584
2.3.2 ActiveResource JSON doesn't send parameters with root node
was updated
in Ruby on Rails
-
Joe Martinez commented at 10:23 PMNo problem, I wrote this patch for a client and it's part of a production application. We haven't had any problems with it so far, but I'm sure the Rails 3 guys...
Tuesday, June 30 2009
2584
2.3.2 ActiveResource JSON doesn't send parameters with root node
was updated
in Ruby on Rails
-
Joe Martinez commented at 9:05 PMPatched it.
Added an ActiveResource::Base option to include_root_in_json just like ActiveRecord.
-
Joe Martinez commented at 8:11 PMNevermind the above - it's for ActiveRECORD. This problem does exist in ActiveResource.
-
Joe Martinez commented at 8:10 PMYou can fix this by adding
ActiveRecord::Base.include_root_in_json = truein a initializer. Hope this will be default in Rails3