Attempt with rails 3.1.0 minimum