Whenever you create a table from a database migration, remember to add updated_at and created_at timestamps to that...
A snippet of the carrierwave documentation You might come to a situation where you want to retroactively change a version...
Today I ran into trouble installing therubyracer on Ruby 1.8. The installation failed with *** extconf.rb failed *** Could not create Makefile...
Search engines, such as Google and Bing are engineered to crawl static web pages, not javascript-heavy, client-side apps...
Motion is quickly becoming one of the most important emerging techniques in building a quality user experience on the web...
One of many useful techniques when your test suite needs to talk to a remote API.
If you need to enable NewRelic monitoring on certain machines within the same Rails environment, a simple solution is to...
Ubuntu has a package mysql-sandbox that lets you install multiple MySQL versions into your user home: Install mysql-sandbox...
Rails has always included a scaffold script that generates a default controller implementation for you. Unfortunately that generated controller is...
You're better off using debugger-ruby_core_source: gem install debugger-ruby_core_source If you can't do...
It is good programming practice to Don't Repeat Yourself (or DRY). In Ruby on Rails we keep our code...
Establishing a new SSH connection usually takes only a few seconds, but if you’re connecting to a server multiple...
If you need to test interaction with a remote API, check out the VCR gem as an alternative to Webmock...
So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...
The default configuration of Rails disables CSRF protection in tests. If you accidentally forget to send the CSRF token for...
There may be reasons to change the locale of your Postgres cluster. A popular one is your development system's...
If your XFCE renders text with overly hard, thin lines instead of smooth anti-aliased lines, you might need to...
Working with lists in Javascript is painful because the native Array class is so poorly designed. One way to reduce...
Presentation about awesome changes we can look forward to.
So you're switching to PostgreSQL from MySQL? Here is some help... General hints on PostgreSQL \? opens the command overview...
The mysql2 gem in version 0.3.13 might break while compiling on older patch releases of Ruby 1.9.3 within rvm:
Since we are migrating from our homegrown mixins.sass and helpers.sass to Compass, here is a list of all the mixins...
With Rails 4, Concerns have become the “official” solution to the big-models problem. However, there’s a fair amount...
Long list of fonts suitable for coding. With screenshots.