remove dependency of rails 3.2