SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Rails Frustration...
-
Aug 3, 2008, 15:58 #1
- Join Date
- Aug 2003
- Location
- Southern California, United States
- Posts
- 1,616
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Rails Frustration...
Do I have to restart an instance of my application if I make changes to 1 or 2 files? Can I edit the file on my server and have the changes take place right away or do I have to edit it offline and restart the application once I upload it?
Have a good day.
-
Aug 3, 2008, 22:26 #2
- Join Date
- Aug 2003
- Location
- Southern California, United States
- Posts
- 1,616
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Nevermind foundout yes I do.
Have a good day.
-
Aug 4, 2008, 04:05 #3
- Join Date
- Feb 2006
- Location
- Worcs. UK
- Posts
- 404
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You can edit view files without restarting the server. Model and controller files require a service restart.
However, I would strongly advise against altering live files on the server on the fly. Use a version control system such as 'Subversion' and make changes on a development system. Then upload the changes to the server. If you use Capistrano, you can even have the server update pulling files out of the subversion repository.
Bookmarks