I have two controllers and users. All I want to do is redirect from the user # something to the movie # something. is it possible?
Yes. Take a look at redirect_to. http://api.rubyonrails.org/classes/ActionController/Redirecting.html#method-i-redirect_to
redirect_to :controller => 'controllername', :action => 'actionname'
where controllername is the name of your controller and action is the name of your action. this works for rails 4, but should also work for older rails
Source: https://habr.com/ru/post/919427/More articles:How to "partially" fulfill a sales order? - netsuiteHow can I model the accuracy / reliability of data in a database? - sqlRecursion Exercise In C - cPHP: sort associative array - phpHow to embed tables in a div or something else without breaking jQuery fadeIn function? - jqueryAm I doing something with this program? - c ++Android removes Fastforward and rewind buttons from media player - androidQt LEFT CTRL Key Code - c ++Is it possible to compare GWT with javascript based frameworks? - javascriptHow Using ThreadLocal Reduces Reuse - javaAll Articles