Fix dependency to support Rails 4
Merge pull request #8 from ai/rails4

Fix dependency to support Rails 4