Whether you are working on an open source app or an enterprise app, it is a good idea to keep the production database connection information out of source control. To do so, add the following to your deploy.rb file: task :overwrite_database_yml_file do run "[ -f /var/rails/#{application}/database.yml ] && cp -f /var/rails/#{application}/database.yml #{latest_release}/config/ || echo 'database.yml […]
-
‹ Home
Contents
-
Categories
-
Tags
aws capistrano cloudfront confabulus configuration content_for def development git installation launch layouts oracle perforce plugins rails rcov rspec ruby security snippets test::unit testing
-
Archives
Blogroll
-
RSS Feeds
-
Meta