Posts by Dok Nabaku • 1 point
1 post
-
0
votes1
answer38
viewsQ: How to redirect to the same object position after update
I am displaying a collection of random objects in my index action. However the objects are displayed one at a time. So: @objects = Object.order("RANDOM()").limit(1) In the index view, I can send a…