Rails 2.x does not have ::ActiveResource::VERSION, revert to ::Rails::VERSION::MAJOR for 2.x patches