Support Rails 4.0.0
Merge pull request #5 from crymer11/master

Support Rails 4