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" => @time}      end      def goodbye (*params)        raise request.inspect.to_s      end

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] end

and you will see the time.

Best Regards, Sergey