Railscast: backup database before migration
No Comments »
No Comments » It is often a good idea to do backups, right? ActiveRecord doesn’t provide a straight task to do them, so I have written a small rake task to achieve that. This task automatically cleans up old backups. Additionally, it offers two additional variables to define max number of backups left and the directory name to [...]
This post explains how to install a global RVM (Ruby Version Manager) with Passenger 3 gem, Ruby Enterprise Edition in a Debian server machine for all users.
If you are using Ruby on Rails with Apache (or Apache ITK) and mod_passenger and you get an error while you are trying to upload a file through Rails application, you are probably facing the problem of wrong permissions set in the webserver_private directory of passenger. Passenger is not currently supporting ITK and is not [...]