I can’t speak for you, but where I can, I like to use CoffeeScript because: it makes my life easier […]

I was wondering if there were a way to make this controller code more readable: events_controller.rb format.zip do if @event.zip_cache_up_to_date? […]

If you have rails server running locally and need to kill it fast, I use this function: stop() { kill […]

A BASH script to run arbitrary tests: https://gist.github.com/3352560/ Original blog post: http://wordsanddeeds.posterous.com/run-arbitrary-tests-in-rails [Update:] I have moved this to its own […]

I faced it in jruby on rvm. Solution: echo “source $HOME/.rvm/scripts/rvm” >> ~/.bash_profile Or: echo “source $HOME/.rvm/scripts/rvm” >> ~/.bashrc

Over time I’ve installed various versions of Xcode, Kenneth Reitz’s OSX GCC Installer and now Apple’s Command Line Tools. Unfortunately, […]

During a relax time at a conference I heard someone speaking about private gems servers. I had been wondering about […]

#!/usr/bin/env ruby puts ‘Tag version?’ tag = gets.chomp tag = “v#{tag}” unless tag[0] == ‘v’ `git commit -m ‘Bump version […]

string = “my dog isn5 years old” string[/Ad+/] # match a sequence of digits at the start of the string […]

With dumper, you can download whole image galleries of the most popular boards. It’s provided with many modules, including 4chan, […]

It took me a while to solve how to best run RSpec (and other tests) while using RVM in Sublime. […]