Posts by Roh Barboza • 21 points
2 posts
-
1
votes1
answer116
viewsA: How to display a user’s Posts?
You save the user in the variable @user, but calls the post method straight from the class User Use the variable @user in place of User def show @user = User.find(params[:id]) @posts = @user.posts…
-
0
votes2
answers150
viewsA: Map method does not work as expected
Currently its contact book. is returning this: [ [ Nome: Rafael, Numero: 98-88891948, Email: [email protected], Nome: Rafael, Numero: 98-88891948, Email: [email protected], Nome: Renan,…
rubyanswered Roh Barboza 21