Support Rails 4.1.2
Merge pull request #573 from jgadbois/rails4

Support Rails 4.1.2