updates to be compatible with Rails 4
Merge pull request #1 from NexusHQ/rails4

updates to be compatible with Rails 4