fix rails-2.3 style plugins