|
|
Question : Ruby on Rails controller/views
|
|
I am trying to deploy ROR site on godaddy. I have got it to a point that godaddy control panel detects the rail application and I am able to create a virtual directory to it. Following is my url : www.weinyou.com/public/ . Now I have controllers and views setup properly in the app folder but I am not able to access it. I have a controller invite but if I try to access www.weinyou.com/public/invite/ I am unable to access it. It says page not found. First of all I think it should have shown me a routing error from within the rails framework instead of a godaddy page not found error. I am not sure what I am doing wrong, looks like it is redirecting the invalid urls or any urls for that matter to the rails framework.
|
Answer : Ruby on Rails controller/views
|
|
Deploying rails on godaddy is apparently a common-enough problem that a few folks have written nice articles about it. Here's one that I found that refers to several godaddy-specific configuration changes that you should make, including changes to your dispatch files: http://www.ericdaugherty.com/blog/2007/07/rails-on-godaddy.html
I hope that helps! If you have any questions about how to do any of the stuff in there, please feel free to ask me.
Best, Phil Hamlin
|
|
|
|