make it work in rails 4
Update rails 3 description
Merge pull request #10 from bingxie/master

Make it work with rails 4