The usage shares of your site highly depends on your target audience. E.g. no Internet Explorer has ever seen hollyapp.com...
paper_trail is an excellent gem to track record versions and changes. You almost never want to reimplement something like...
You've always been able to access the humanized version for the current value like this: song = Song.new(:genre => 'pop...
The will_paginate gem will show a default of 30 records per page. If you want to test pagination in...
Unless you changed the default, this will be 16 MB: mysql> SHOW VARIABLES WHERE Variable_name="max_allowed_packet"; +--------------------+----------+
Sometimes, you may want to open up a second database connection, to a read slave or another database. When doing...
The facebook API allows up to 600 requests per 600 seconds. If you poll more often, you'll get no...
Write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store...
When deploying, Capistrano puts a REVISION file into your application's release directory. It contains the hash of the commit...
For my Gem Session project Holly I ran the Ironman of drag'n'drop implementations: Dragging in nested lists
The $.cssHooks object provides a way to define functions for getting and setting particular CSS values. It can also be...
I highly recommend that you make use of RubyMine's feature to pin tabs. When you pin all "important" files...
The step definition below lets you write: When I click on "Foo" This is useful in Selenium features where the...
Test suites usually grow over time as more and more development time is spent on a projects. Overall run-time...
When you use method_missing to have an object return something on a method call, always make sure you also...
Consider this Sass: .comment width: 320px; height: 240px; Any textarea with the comment class will be sized 320 by 240...
When refactoring a sequence of steps to a new, more descriptive step, you can use the steps method and Ruby...
Applications often show or hide elements based on viewport dimensions, or may have components that behave differently (like mobile vs...
If you want to install rabbitmq plugins on Ubuntu 12.04 you can do this with: /usr/lib/rabbitmq/lib/rabbitmq_server-2.7.1/sbin/rabbitmq-plugins This binary is not...
You can specify the version of bundler to execute a command (most often you need an older version of bundler...
In Rails 3.1+, instead of defining a separate up and down method you can define a single method change:
It's the last bugfix release. We will get another year of security fixes, then no more patches.
Updated the card with our current best practice (shared app code and specs via symlinks).
has_defaults is now a gem, no longer a plugin. The plugin version no longer exists. Note that plugins are...