12. 変化自由な変態性 AResではARと違い、レスポンスデータが入れ子の場合がある。 => その場で動的にクラスを作って対応 {“id”:119515, “user_id”:39691 “subject”:”foo” “body”:”bar” “comments”:[ {“user_id”:23311,“body”:”zoo”...}, ...]} #<Journal:0xb7b1a6f4 @prefix_options={}, @attributes={"user_id”=>39691,”subject”=>”foo”,”body”=>”bar”,”comments”=>[#<Journal::Comment:0xb7b18480 @prefix_options={}, @attributes={"user_id"
![ActiveResourceが面白すぎる件](https://cdn-ak-scissors.b.st-hatena.com/image/square/f458a57263032b2f3492cc3ad1b9b3031127f717/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2F34-090621092151-phpapp02-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)