|
skidooer posted:But I believe that people who are just trying to learn Rails now are probably suffering from the problems you mentioned. Hello! Truth be told I sort of learnt the basics a year ago, but have promptly forgotten everything. I'm managing, but I'm sure I'm not doing stuff the 'Rails 2.0' way. Anyhow, I have run into a small problem: I'm making a site, with lots of static pages and then a couple of ruby pages for management and registration. How do I integrate the two? I don't want to have to make separate views for every single page (or dynamically generate them on every view with link_to's), but I can't just put in static pages and link to them normally, because then if I do relative links depending on which controller/method I am in they wil be invalid. I can't do absolute links either, because that would presume that they are on the server root (.com/xxx) which is not guaranteed, and probably not the case.
|
| # ¿ Dec 16, 2007 14:00 |
|
|
| # ¿ May 20, 2013 09:21 |
|
So I've used capistrano/mongrel to deploy and run, as the 'agile development with rails' book suggested. Does anyone know if: a) This is the best way to deploy it b) it's worth, and possible, preventing mongrel from accepting incoming connections outside of apache (i.e. nothing but localhost - I can access it at servername:8000 publically) c) How I can easily get it to start at system boot - at the moment, the instances are started by capistrano directly, which obviously will die if the server goes down.
|
| # ¿ Dec 19, 2007 22:16 |
|
This is almost a purely apache question, but can I use mongrel and have it running on, instead of it's own subdomain (someapp.serveraddress), the site being like a subfolder serveraddress/someapp ? All the guides I have found are the former.
|
| # ¿ Dec 20, 2007 11:01 |




