TIL to use current_config() instead of Rails.env() in database operations in #Rake tasks with #Rails v3.2.