Posts by Jcsreisjr • 7 points
3 posts
-
-2
votes1
answer806
viewsQ: Returning the result of a query to the external API with Adonisjs
I am consuming an external API with Request in an application made with adonisjs, to request is done normally and is returning the statusCode and body but I cannot return to my API. I want to return…
-
0
votes1
answer165
viewsA: Ruby on Rails - Relation pagination with active record and Kaminari
Updating... I changed my controller to the code below and is now paging... def followeres @user = User.find_by(username: params[:username]) @followers = @user.follower_relationships…
-
1
votes1
answer165
viewsQ: Ruby on Rails - Relation pagination with active record and Kaminari
I’m studying Ruby On Rails and as a learning goal I made an API with the basic features of Instagram. I’m having a hard time paging the results of my following list, I also wanted to display only…