Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso...
Whenever is a Ruby gem that provides a clear syntax for writing and deploying cron jobs.
We often have a separate production branch that lags a bit behind the more cutting edge main branch. Sometimes you...
Occasionally you need to do something directly on the server -- like having all records recalculate something that cannot be done...
You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying...
When storing floating-point numbers such as prices or totals in an SQL database, always use a DECIMAL column. Never...
When deploying an application with "cap deploy" by default [1] you only deploy your code but do not run migrations...
Airbrake (formerly Hoptoad) already ignores certain errors like InvalidAuthenticityToken by default (see Airbrake::Configuration::IGNORE_DEFAULT).\ To ignore additional classes...
We can now plug into every facet of the Rails jQuery UJS adapter, binding to custom events, and even customizing...
If you want to have a new log file every day automatically, but avoid using logrotate, the CustomLog directive is...
ActiveRecord gives you the :include option to load records and their associations in a fixed number of queries. This is...
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.
It is common in Rails 3.0 applications that you want to provide default views for a group of controllers. Let...
If you're using jQuery, you need to update to 1.5.1 to get Internet Explorer 9 to work.
At times, it might be unavoidable to have different CSS rules for Internet Explorer than for sane browsers. Using Sass...
The information in this card is only relevant for Rails 2.3-era apps. This note gives a quick introduction into...
Liquid Canvas is a JavaScript library which allows you to draw inside an HTML canvas element with an easy yet...
blueprint is DevStructure’s workhorse tool that looks inside popular package managers, finds changes you made to configuration files, and...
The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...
With SNI, you can have many virtual hosts with HTTPS sharing the same IP address and port, and each one...
Pie sometimes does not properly redraw elements upon changes. This often happens when the change comes from somewhere further up...
Install OpenSSH Server: sudo apt-get install openssh-server To check if the server is running you should get no...
Around the time in my life when I stopped ordering drinks made with more than one ingredient, I was woken...
After updating your RubyGems, you will probably not be able to run Capistrano any more, but receive an error similar...