Showing validation errors both of ActiveRecord 3.0.x and 3.2.x