Rails gives you migrations to change your database schema with simple commands like add_column or update. Unfortunately these commands...
Here is a hacky way to load dumps directly from the source server, without fully copying them over and extracting...
If you need to capture signatures on an IPad or similar device, you can use Thomas J Bradley's excellent...
You either have an old version of Mocha and an edge version of Rails 3.2, or you have a new...
Do not investigate in the 2342 tools that exist for migrating IMAP accounts from one server to another. They all...
We recently had a problem on a Memcache cluster, where one of the servers showed a significantly worse cache hit...
validates_uniqueness_of is not sufficient to ensure the uniqueness of a value. The reason for this is that in...
The attached article outlines considerations when choosing client-side vs. server-side implementations of the Google Geocoding APIs (geocoder, directions...
Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the...
I was unsatisfied with the existing memory status applets for the Xfce panel, so I wrote a little shell script...
When searching for text in a MySQL table, you have two choices: The LIKE operator FULLTEXT indexes (which currently only...
Our old solution for cronjobs, the "craken" plugin, is no longer maintained and does not work on Rails 3.2+.
I am talking about development speed. When your application starts growing and you start adding gems, it starts to take...
Generally, Selenium tests use the browser to interact with the page. If it's unavailable, a timeout error is...
Turbolinks makes following links in your web application faster. Instead of letting the browser recompile the JavaScript and CSS between...
If you get this warning on your local machine one of these steps might help: Rebuilt the gem with the...
You're using exception_notification and want to send exception mails within a model. Here's how. The ExceptionNotifier class...
The ActionMailer in Rails 2 depends on a buggy version of TMail, which sometimes inserts a blank line into the...
Given you store files on Amazon S3 and you need to stream those files out to people while you don...
Note: Modern Rails has two build pipelines, the asset pipeline (or "Sprockets") and Webpacker. The principles below apply for both...
When you get an error like this: Invalid gemspec in [/opt/www/foo-project.makandra.de/shared/bundle/ruby/1.8/specifications/carrierwave-0.6.2.gemspec]: Illformed requirement ["# 1.1.4"] ... the machine's Rubygems needs to...
We frequently use the handy Paperclip Gem to manage file attachments. If you need to move the files from local...
Interesting interview with DHH, where he talks about how they made the new Basecamp feel very fast without using a...
pjax loads HTML from your server into the current page without a full reload. It's ajax with real permalinks...