> Do you *really* think that bumping after less than 24 hours will get
>  people to help you?  (Hint: it won't.)

It will :)

> How have you setup the relationships (has_many, belongs_to etc) in
> your models?  Or is that what you are asking how to do?

Thank you for helping me!

Shout model:
belongs_to :place
belongs_to :profile

Photo model:
belongs_to :place
belongs_to :profile

Place model:
has_many :photos
has_many :shout

So what i want is getting a list of these 2 models combined.

It is possible (look @ http://brightkite.com/objects.xml -> also
created with ruby on rails)
<objects>
<photo..>
<note..>
<..>
</objects>

so what i want now is for example: 
http://mybuddynetwork.info/profiles/1-admin/objects.xml
and i get then all the photos and shouts from that user! Same for a
place (all the photos and shouts at the place).

How can i do that?

Thank you,

Wouter
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to