Update to Rails 3