You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying...
When deploying an application with "cap deploy" by default [1] you only deploy your code but do not run migrations...
If you want to have a new log file every day automatically, but avoid using logrotate, the CustomLog directive is...
ActiveRecord models know how to cast a given string to the type of a given attribute (or column).
Since version 1.5 RubyGems requires at least Ruby 1.8.7. The last one working with Ruby 1.8.6 was RubyGems 1.4.2.
One of the thornier problems in our workflow is knowing when assets are delivered from the designer and keeping them...
If you want to manually check if e-mail delivery works on a machine by sending an e-mail you...
When using ActionMailer, you can set an array of email addresses as recipients. If this array is generated by e.g...
Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2
The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...
Install OpenSSH Server: sudo apt-get install openssh-server To check if the server is running you should get no...
This tool is used on our application servers (and called when deploying) but it also works locally. Just call dumple...
This note describes a Cucumber step definition that lets you say: Then "Mow lawn" should be an option for "Activity...
When you use the send_file method to send a local file to the browser, you can save resources on...
You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.
This might be due to AppArmor denying the MySQL server access to most of the filesystem. You can instead use...
In case https://www.rubydoc.info/ is to slow or offline, you can also read a gem documentation offline. Start a server...
Find-as-you-type boxes are usually built by observing changes in a text field, and querying the server via...
From time to time we're convinced that an error must be very close to the network card, OS IP...
This is for those who already own an SSL certificate (e.g. using it in the Apache HTTP Server) and need...
When your site is mapped into the URL-space of another server using mod_proxy, ProxyPass and ProxyPassReverse, all requests...
These steps are now part of Spreewald. The step definitions below allow you to test the filename suggested by the...
If you need to find out which of your local commits are not on the remote server do this:
Ruby's net/http is setup to never verify SSL certificates by default. Most ruby libraries do the same. That means...