compatible rails3
Merge pull request #8 from user-tony/master

compatible rails3