Rails3 compatibility: replace Errors#on_base at test/unit/issue_test.rb