paint-brush
How To Show User Friends Posts Using Ruby on Railsby@othmane-namani
538 reads
538 reads

How To Show User Friends Posts Using Ruby on Rails

by Othmane Namani2mDecember 18th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How To Show User Friends Posts Using Ruby on Ruby on. Rails feature has created a mutual friendship feature. All that you need is to find the right association between User model and Post Model. Ruby On. Rails association is very simple and natural: A user has many friends. A friend has many posts, so the user’s friends’ posts are the. collection of all the friends. posts. The idea of friends�’. posts is simple: Users have a lot of posts. Users have friends with many posts.
featured image - How To Show User Friends Posts Using Ruby on Rails
Othmane Namani HackerNoon profile picture
Othmane Namani

Othmane Namani

@othmane-namani

Full Stack Web Developer

Learn More
LEARN MORE ABOUT @OTHMANE-NAMANI'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Othmane Namani HackerNoon profile picture
Othmane Namani@othmane-namani
Full Stack Web Developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Joyk
Coffee-web
Learnrepo