Redirect with parameters

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

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

if you look at "REQUEST_URL" => "http://10.6.14.37:3000/say/goodby?time=Sat+Dec+16+03%3A59+2B0300+2006&quot; 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] end

and you will see the time.

Best Regards, Sergey