Fix for Rails 3.1 mass-assignment error