Make dejavu compatible with Rails 4
Merge pull request #2 from albertbellonch/rails-4

Make dejavu compatible with Rails 4