Support Rails 4
Merge pull request #257 from evandrodp/patch-1

Support Rails 4