Hey I found two interesting functions while going through capistrano’s files. There are two functions named “upload” and “download”, which can be used to download and upload directories from / to remote server using scp. Examples: [source: ruby] upload(“LOCAL_DIR_PATH”, “REMOTE_PATH”, :via=> :scp, :recursive => true) [/source] [source: ruby] download(“REMOTE_PATH”, “LOCAL_DIR_PATH”, :via=> :scp, :recursive => true) … Continue reading Capistrano: uploading / downloading directory to / from remote server via SCP or sftp
Some days ago I found HopToad, as a subtitute of exception notifier plugin. Now, today I found another rails exception tracking application named Exceptional. Hoptoad is free while exceptional is paid.
You may want to redirect all visitors to coming to your domain “domain.com” to “www.domain.com”. Most popular way to do this is using apache’s mod_rewrite module. You just need to add few lines in your apache’s configuration file: