When you roll custom URLs with hacks like routing-filter, you can put a spec like this into spec/routing/routing_spec.rb:
Don't use should validate_format_of(...) because that matcher works in weird ways. Use the allow_value matcher instead...
You can write regular expressions some different ways, e.g. /regex/ and %r{regex}. For examples, look here. Remember that it...
Our awesome collection of rspec helpers (formerly known as "spec_candy.rb") is now available as a gem. It works, it is...
To delete a local branch git branch -d the_local_branch To remove a remote branch (if you know what...
An alternative to this technique is using VCR. VCR allows you to record and replay real HTTP responses, saving you...
Until May 2011 our gems have been created with Jeweler, which is a helper library to package code into a...
With defaults, RCov doesn't work the way you how you would like it to. To create a nice test...
We built cucumber_spinner to have a progress bar for Cucumber features, which also outputs failing scenarios as soon as...
rspec_spinner is a progress bar for RSpec which outputs failing examples as they happen (instead of all at the...
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...
When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...
sudo apt-get install unzip rake rails:freeze:edge RELEASE=2.2.2
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...
Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]
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...
Consent is an access control abstraction layer for ActionController. It lets you restrict access to actions across your application using...
Pocket Informant for the iPhone doesn't just simply let you view your daily events but lets you really work...
Sprockets is a Ruby library that preprocesses and concatenates JavaScript source files. It takes any number of source files and...
I believe that the current specification of the element is vague because it avoids the question whether the element is...
A Rails plugin that delivers a special message to DiggBar users, or runs frame-killer javascript.
The number of operators that you can overload is very small and each of them is attached to very specific...
The Echo Nest Remix API (“Remix,” for short) is an open-source programming framework written in Python. It provides numerous...