I have one action which will include the .id for a vendor class through link_to.
That action which is a modification of the new() for a different controller for Reviews needs to pass both the value of the ID from the URL and the session[:user_id] into the database.
How can I grab the value of the vendor.id? Is it possible to not pass it through the URL and place it in the flash instead?
do I use a hidden value to pass the session[:user_id]?