From time to time we're convinced that an error must be very close to the network card, OS IP...

It's that simple to allow one of your Linux users to run a single command as UID 0:

If you're on Ubuntu: sudo apt-get install ruby-dev On other platforms: Look for a package containing ruby...

When you are using Apache for development, it still accepts connections from everyone in the same network as you.

When you eagerly load an association list using the .include option, and at the same time have a .where on...

This card explains how to install RubyMine for the first time. If you want to upgrade an existing RubyMine installation...

Occasionally some complex query must be processed on the database because building thousands of Ruby objects is impracticable.

For clarity and traceability, your commit messages should include the ID and title of the Pivotal Tracker story you're...

You most likely never want to do this. But if you do: Model.update_all({:id => new_id}, {:id => old_id...

To install webmock 1.5.0: sudo gem install webmock --version "=1.5.0" or sudo gem install webmock -v "=1.5.0"

Use this scope: class Stick named_scope :shuffled, lambda { last_record = last { :conditions => [ 'id >= ?', rand(last_record.id) ] } if last_record }

skorks.com

Ctrl + R Search commands you entered previously. Press Ctrl + R again to search further back, Ctrl + Shift + R searches forward...

Use this MySQL command to show further info about a table: SHOW CREATE TABLE tags; This will output a table...

If a controller action responds to other formats than HTML (XML, PDF, Excel, JSON, ...), you can reach that code in...

After switching to Rails 3 you may get a LoadError with the following message when trying to use your application...

When using form_for you can give the form's target URL either as a string or an array:

kalzumeus.com

I’m going to list assumptions your systems probably make about names. All of these assumptions are wrong. Try to...

You need to install the following packages before you can build the Nokogiri gem: sudo apt-get install libxml2-dev...

If you get an error message like that you are missing the Aspell files a specific language:

A good tool to generate strong passwords and secrets is "apg". You can get it with sudo apt-get install...

You need to install the following packages before you can build the Paperclip gem: sudo apt-get install imagemagick librmagick...

These steps are now part of Spreewald. This note describes a Cucumber step that lets you write this:

makandra dev

Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11

When you need to delete rows from a table, and the delete conditions require a joined table, MySQL needs to...