With rails 3.2