use rails 3 plugin for rails 4