On Thursday, September 13, 2012 6:19:03 PM UTC-4, Gary Weaver wrote:
>
> This is under development/may change/go away later and untested, but: 
> https://github.com/garysweaver/restful_json/blob/3.0.0/lib/restful_json/roar/entity_representer.rb
>

BTW- this is not the suggested way to do things in roar/roar-rails; 
mirroring the associations and attributes in the representer wouldn't work 
in roar 0.11.3 
<https://github.com/apotonick/roar/commit/a2f954e0d3cfa7ed99b33e3b416ac868358a4f7e>because
 
there is no guarding against circular references since it doesn't intend to 
be used like this, but I'm talking with Nick about it to see if there is a 
workaround. Ok, will stop going off on a tangent now...

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/L2kH9xxqkBQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to