search for: redirect_to_url

Displaying 7 results from an estimated 7 matches for "redirect_to_url".

2006 Mar 14
2
Rails redirect/jump script?
I''m looking for some advice on how to write a jump script - something that will look up a url in my database and redirect a cleaner url to the one in the database. For example: url: http://www.amazon.com jump url: http://www.mysite.com/jump/a
2006 May 08
4
link_to - Going Back without knowing the action name.
Hi, I have a bunch of link_to''s in my code that are simple Back buttons that should basically just go to the previous request. Is there a way of doing this without specifying the action to execute? The problem is, sometimes I may render the same view through separate actions so I wouldn''t know which action to go back to. Thanks. -------------- next part -------------- An HTML
2005 Dec 08
1
help - how to I link to an external app and pass value?
Hello, I have a list that I need to show a print column and have the print column call an external web application and pass the id value. How do I do this in rails? Thanks Frank _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Dec 08
1
how to open a popup window
Hello, How can I change the code below to open a new browser? Thanks Frank def print @receipt = Receipt.find(params[:id]) link = "http://web/WebReceipts/WebForm1.aspx?id=" + params[:id] redirect_to_url(link) end _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Dec 27
5
redirect back to where I was before action?
For some reason I cannot find the documentation for this. How can I store the current URI/URL so that I can return with a redirect_to? session[last_action] = ??? -- 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,
2006 Aug 12
7
Redirect back to last page?
I have a few pages where a user may do something (add tags, login, etc) and I would like to redirect them back to the last page they were at before calling that action. Is there an easy way to do this? -- Posted via http://www.ruby-forum.com/.
2006 Jan 03
18
Trying to do a simple thing ...
Hi ! I was talking to a seasider and he asked me if it was easy to do the following thing using rails : 1) ask a number to the user 2) ask a second number 3) give the addition of the two number and a link to be able to replay All these things have to be done in one controller and one action, there is no need for verification and other stuff. I tried but I''ve got some problems