I'm having a similar problem that none of these solutions will work for. 
I understand you can redirect to a URL, the problem is - while I'm 
developing my app I want to redirect to 'http://127.0.0.1:3000' but 
after I deploy it I want it to redirect to something like 
'http://app.somedomain.com'. Is there a constant similar to 'RAILS_ROOT' 
that I can use?

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