Class parameter changes were improved to be in compliance with Rails 3.