Rails 4.0 compatibility

* allow Rails 4.0 in spec
* add aderyabin's patch
* bump version to 0.0.6