So you screwed up and copied Paperclip secrets from one project to another. Here is a semi-automatic, painful way...

stackoverflow.com

Reverting a commit means creating a new commit that undoes the old changes. Imagine the following commit history:

When doing a query like this: SELECT id FROM users WHERE (users.id IN (899,1084,1095,100,2424,2429,2420...

When you get this while installing the raspell gem: ERROR: Error installing raspell: ERROR: Failed to build gem native extension...

When you get this error: No word lists can be found for the language "de". An aspell dictionary is missing...

makandra dev

This may be awkward to set up, but will work once you're done. Fun facts:

Unless all MySQL server defaults are set to UTF-8, mysqldump encodes UTF-8 characters incorrectly and only outputs correct...

morris-photographics.com

Some browsers render PNG images with color profiles and other shenanigans, some don't. The cleanest way to have consistent...

Most of these will not work in newer projects because these use the Capybara/Rack::Test combo in lieu of Webrat...

Until May 2011 our gems have been created with Jeweler, which is a helper library to package code into a...

makandra dev

rspec_spinner is a progress bar for RSpec which outputs failing examples as they happen (instead of all at the...

makandra dev

Install gem and plugin sudo gem install parallel script/plugin install git://github.com/grosser/parallel_tests.git Adapt config/database.yml test: database: xxx_test<%= ENV...

sudo gem install gettext --no-ri --no-rdoc sudo gem install fast_gettext --no-ri --no-rdoc script/plugin install git://...

install apache sudo apt-get install ruby1.8-dev sudo gem install passenger sudo passenger-install-apache2-module follow the instructions

sudo gem install zip git clone git://github.com/rtomayko/date-performance.git cd date-performance rake package:build cd dist sudo gem install...

sudo gem install rails --version="=1.2.3" rails _1.2.3_ new-project-folder

sudo apt-get install unzip rake rails:freeze:edge RELEASE=2.2.2

makandra dev
github.com

Gem to provide nice looking urls ("/blog/the-greatest-bug-i-never-fixed"). If you don't need anything too special (like i18n for the urls...

openjs.com

Despite the many JavaScript libraries that are available today, I cannot find one that makes it easy to add keyboard...

livepipe.net

HotKey provides functionality similar to the accesskey attribute, but has many enhancements that allow for more granular control when creating...

themomorohoax.com

A global h2 style probably isn’t going to last more than a month before everyone starts changing it inline...

daringfireball.net

So what Apple does not want is for some other company to establish a de facto standard software platform on...

gem-session.com

Next in our series on not shooting yourself in the foot: Doing a sudo shutdown -h now on the main...