Actually... it's both ways. The parenthesis aren't required in ruby when calling methods.
Robby On Thu, Mar 5, 2009 at 7:03 AM, Jacob Yong <[email protected]> wrote: > > Thank you, Scott. It works! Just FYI, it's actually > redirect_to("http://my-external-site.com") > > Scott wrote: >> redirect_to 'http://my-external-site.com' >> >> On Mar 4, 9:37�am, Jacob Yong <[email protected]> > > -- > Posted via http://www.ruby-forum.com/. > > > > -- Robby Russell Chief Evangelist, Partner PLANET ARGON, LLC design // development // hosting w/Ruby on Rails http://planetargon.com/ http://robbyonrails.com/ http://twitter.com/planetargon aim: planetargon +1 503 445 2457 +1 877 55 ARGON [toll free] +1 815 642 4068 [fax] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

