Displaying 1 result from an estimated 1 matches for "activeresorc".
Did you mean:
activeresorce
2009 Apr 29
1
Different behaviour on ActiveResorce with JSON or XML
I''m doing a request from a Rails app to another Rails app with
ActiveResource.
When the format on ActiveResource is XML:
Content.find(:all)[0,2].map(&:attributes)
=> [
{"updated_at"=>Mon Apr 27 15:04:32 UTC 2009,
"url"=>"www.google.com", "id"=>1, "created_at"=>Mon Apr 27 15:04:32
UTC 2009},