Upgrading to new rails plugin