I am trying to do the following:
process a request containing form data. Once I my app has successfully
completed its processing, I would like to redirect_to a totally
different site and pass along the parameters that came in with the
original request.

This is how I am currently handling it in the controller:
[code=]def create
      @subscription = Subscription.new(params[:subscription])

      @subscription.user_id = current_user.id

      @subscription.subscribe

      respond_to do |format|

          if @subscription.save
            parms2 = params

            format.html {redirect_to
"http://www.someothersite.com/process",parms2}
          else
           #handle the problem
          end
        end

      end[/code]
Everything up to the redirect is happening correctly. Then I am
redirected to www.someothersite.com but it is behaving as though the
parms2 are missing. I am new to Ruby and Rails and am probably missing
something very easy here.

Thanks in advance.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to