Patch

Now it work with rails 4.1