switch away from deprecated rails3 plugin