Update rake tasks to be Rails 3.2 friendly