Redirect with parameters

Hi. I think you can use redirect_to with :params like this example:

class SayController < ApplicationController
      def hello
          @time =
          redirect_to :action => 'goodbye', :params => {"time" =>
     def goodbye (*params)
       raise request.inspect.to_s

if you look at "REQUEST_URL" =>
you can pass more then one parameters {"time" => @time, "word" =>
"YES", ...}

Best Regards, Sergey

Sorry, parameter (*params) dont need, you can simple write
def goodby
  raise params[:time]

and you will see the time.

Best Regards, Sergey