Added support for Rails 4
Merge pull request #1 from witzig/rails4

Added support for Rails 4