realize this question is similar to this one.
Pass URL parameters to a redirect_to :root
However, I’m wondering to start the application with parameters passed at the outset. Perhaps root :to in the routes.rb file is not exactly the correct way to go?
Was basically hoping that it would start like this.
http://localhost:3000/controller?hello_id=1&finder_id=1&laser_id=1&sharks_id=4
Any thoughts would be really appreciated!
It seems it is impossible to do so in rails.
One way to workaround this is to point to an action of controller that will redirect to another action with all the parameters set (uglier solution, uglier solution in my opinion)
or
you can point to a controller that will set default values to the parameters if no parameters were passed.