castle_gates plugin: fixed ArelExtension for new rails version