change plugin to rails 3.2