Now works with rails 4
new version