title: Can ActiveResource models integrate with ActiveRecord models?
body: <p>I'm working on a Rails app that will serve as an authentication system for other Rails apps through Rails's ActiveResource functionality.</p>
  
  <p>The authentication app has an ActiveRecord model called <code>User</code>. The client app has an ActiveResource model called <code>User</code>. I know that in the client app I can do stuff like <code>user.save</code> and it will perform a PUT operation using XML over HTTP.</p>
  
  <p>But what if I want to put into my client app's <code>User</code> model <code>has_many :contacts</code> or something like that (<code>contacts</code> being an ActiveRecord model in the client app)? Then I'd want to do stuff like get all the <code>Contact</code>s that belong to some <code>User</code>.</p>
  
  <p>Is that possible?</p>
  
  <p>(I noticed that a <a href="https://stackoverflow.com/questions/183604/how-do-i-create-an-activerecord-relationship-to-an-activeresource-object">similar question</a> was asked, but there weren't many responses.)</p>