If you are using active resource from another machine over a network and you have something like this:
require 'rubygems' require 'activeresource' ResourceServer = 'http://mysite.com:3000' class ChildRec < ActiveResource::Base self.site = ResourceServer #self.element_name = '' end class ParentRec < ActiveResource::Base self.site = ResourceServer #self.element_name = '' end Then it's no problem to do stuff like: par = ParentRec.find(31) However, if ParentRec has many child_recs I was saying basically that stuff like using: par.child_recs - I was having difficulty getting to work at the time I had looked into that a few months ago. I can easily do child = ChildRec.new() child.parent_rec_id = par.id --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---