Saturday, March 3, 2012

[Rails] Re: Making ActiveResource work with nested attributes and fields_for

Which version of ActiveResource are you using? I also encounter what you are encountering while using ActiveResource 3.2.1.

In 3.0.* there was "ActiveResource::Base.include_root_in_json" which you could set to false. I am not positive if that's the exact stumbling point, but it feels like it is.


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/5REBTFGpR7YJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate