Support for rails 4 

In response to issue #8

Seems to work out of the box with only this gemspec change.