Compatibility with Rails 4
Merge pull request #2 from aspgems/rails_4

Make the gem Rails 4 compatible.