Jump to content

The ultimate community for Ruby on Rails developers.


Photo

Model,relationships, Queries for existing comments-likes-tags ER

Model relationship query join like dynamic database

  • Please log in to reply
No replies to this topic

#1 pfeiffive5

pfeiffive5

    Passenger

  • Members
  • 1 posts

Posted 20 August 2014 - 06:32 PM

I have this ER - how can i get all liked places from one given user ? What relationships should have my models (liked_entity,user,entity,places)

this is the src thread http://stackoverflow...8113064/1847899

in his comments he says we dont need to join with ENTITY ..

31U5N.png

 

I hope any body can help me.. iam really confused about it


  • pfeiffive5 likes this





Also tagged with one or more of these keywords: Model, relationship, query, join, like, dynamic, database

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users