Oded davidov



Keywords: oded davidov
Description: I have a User class. Each user has many social accounts, but one of each type (Instagram, Facebook etc. ). Each social account has posts, and each post has interactions (likes, comments etc. )

I have a User class. Each user has many social accounts, but one of each type (Instagram, Facebook etc. ). Each social account has posts, and each post has interactions (likes, comments etc. )

The interaction's "user" (eg. the commenter/liker) is defined by the commenter's username ( Interaction.first.username #-> 'myInstagramUserName' ), and the interaction's 'type' (whether it's an instagram -like or a facebook-like) is defined by the related post's related social account type ( Interaction.first.post.social_account.type #-> 'InstagramAccount' ).

Now, since not all likers or commenters are necessarily going to be in my user's table - only the ones that use my service, I want to associate those that are from the interaction.

Each interaction should have two users associated with it - the from_user (who 'liked' or 'commented') and the target_user.

this allows me to now get the user associated with the interaction (the one who is the liker - not the one who was 'liked') via: Interactions.first.from_user






Photogallery Oded davidov:


Michelle Green - Summer Dress


Lore Maria Peschel-gutzeit - Zimbio


Ulrich Thomsen - IMDb


Oded Grober - Google+


???? ???????. ???? ???????? ??? ???     - YouTube


Oded Davidov and Reuven Reuven Photos - The World Absorbs News Of ...


Jason Mamoa Actor playing Khal Drogo | My Sexy Guys | Pinterest


Jason Mamoa Actor playing Khal Drogo | My Sexy Guys | Pinterest


Thoughts | Walkways


IMDb: 80 best Israeli movies - a list by elad3531


Reuven Reuven Photos - The World Absorbs News Of US Election - Zimbio


????? ???? ???? 25! ???? ????? ??????     - YouTube


Oded Davidov - Google+


May in Haifa 2010


IMDb: 80 best Israeli movies - a list by elad3531


1ce402d5d5110452423d48c96d0895 ...


Oded Davidov - Google+


Oded Davidov - Google+