With defaults, RCov doesn't work the way you how you would like it to. To create a nice test...
To test concurrent code, you will need to run multiple threads. Unfortunately, when you use blocking system calls (e.g. locks...
rspec_spinner is a progress bar for RSpec which outputs failing examples as they happen (instead of all at the...
For arrays of objects, uniq does not work as expected, since it uses strict equality. So [[1], [1]].uniq() == [[1...
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://...
See the lemonade descriptions. Unfortunately, the gem has a few problems: it does not work with Sass2...
When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...
To improve installation times of gems you can use the following approach: gem install xyz --no-document To permanently ignore...
This can happen during development when classes without automatic reloading are pointing to classes with automatic reloading. E.g. some class...
This note shows how to merge an ugly feature branch with multiple dirty WIP commits back into the master as...
Append this to your ~/.bashrc: export PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 "(%s...
To run a single test file: rake test:units TEST=test/unit/post_test.rb rake test:functionals TEST=test/functional/posts_controller_test.rb rake test:integration TEST...
If you would like to checkout the branch groups, you can simply say this in recent versions of Git:
Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]
This is for people recovering from Subversion. Get an existing from the server for the first time git clone git@example.com...
before transition before validation after validation before save after save after transition Aborting the callback chain See Cancel the ActiveRecord...
You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
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...
Cerberus is a lightweight and easy-to-use Continuous Builder software for Ruby. It could be run periodically from a...
Given a list of acceptable elements and attributes, Sanitize will remove all unacceptable HTML from a string.
I've seen this granularity problem on every project, product or program I've worked on. Often in non-agile...
JSViz makes it easy to create dynamic 2D views of information. Practical applications include network graphs, navigation, and other dynamic...
This project is (or will be) a best effort semi-static verifier for your Ruby on Rails projects. Delivered as...