available in Rails4
Merge pull request #2 from rorlab/rails4

Available in Rails4