Fix for Rails 4.

This also works in Rails 3.2. It was probably previously wrong and just
happened to work.
Test fixes.

Not sure how the one test was previously passing. Also we should have been
using get all along but it is now required in Rails 4.
Bump version

Also removed debugger from development dependency since a different package
is required for each version of Ruby (1.8, 1.9 and 2.0). It can still be
added ad-hoc during development. Just not making it a permanent part of the
development requirements.