allow usage with rails 4+
Merge pull request #3 from seanwalbran/allow-rails4

allow usage with rails 4+