allow railties 4.x
Merge pull request #3 from dicksonlabs/rails4

Fix Rails 4.x incompatibility