Rails 4

Upgrade gem to be compatible with Rails 4
Typo.