Rails Nested Resource Issues

Martyn Taylor mtaylor at redhat.com
Thu Sep 20 15:16:53 UTC 2012


I've created a new topic on the "Ruby on Rails: Talk" forum: 
https://groups.google.com/forum/?fromgroups#!forum/rubyonrails-talk

I was directed here by: http://rubyonrails.org/community.  If I get 
little response on the forum I'll escalate it to the core list.

Regards

Martyn

On 09/20/2012 01:20 PM, Martyn Taylor wrote:
> Gents.
>
> I'm having some trouble with getting nested resources working properly 
> from bespoke XML/JSON in RESTful API.  There seems to be some 
> fundamental problems with the way rails works, which means we have to 
> write a lot of bespoke code to get it working, possibly even having to 
> monkey patch Rails itself.
>
> I've written an example rails app that highlights the problem and put 
> a detailed description in the README you can find it here:
>
> https://github.com/mtaylor/Rails-Nested-Resource-Issues
>
> I've ran into this issue on IME.  But it's going to affect us across 
> all rails projects with REST APIs, so we could do with discussing this 
> issue and coming up with the best possible solution that results in as 
> little replication as possible.
>
> Please read through the problem and let me know if you have any better 
> ideas that the solutions I have proposed.
>
> Regards
>
> Martyn





More information about the aeolus-devel mailing list