SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard Darren884's Avatar
    Join Date
    Aug 2003
    Location
    Southern California, United States
    Posts
    1,616
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

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

  2. #2
    SitePoint Wizard Darren884's Avatar
    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.

  3. #3
    SitePoint Evangelist
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •