Hello

I try this belongs_to and has_one relationship for ActiveResource, but 
ror complains.
Then i try :include=>[:other_model_here], this gave me

<Model>
 <attrib1>Stuff</attrib1>
 <Other_model_here class="Article">
   <attrib1>Article Title</attrib1>
 </other_model_here>
<catalog>

BUT ror complains
> a = Model.find :last
ActiveRecord::UnknownAttributeError: unknown attribute: public_key

public key is attribute of Other_model_here

Any suggestion what to do? i need this attribute public_key and i don't 
understand why i can't simple access it 
Model.Other_model_here.public_key

Please help!
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to