lib/is_reviewable/reviewable.rb
# Remove the review of this reviewer from this object.
#
Remove the review of this reviewer from this object.
Remove the review of this reviewer from this object .
def unreview!(identifiers)
        review = self.review_by(identifiers)
        review_rating = review.rating if review.present?
        if review && review.destroy
          self.update_cache!
        else
          raise RecordError, "Could not un-review #{review.inspect} by #{reviewer.inspect}: #{e}"
        end
      end
def unreview! ( identifiers ) review = self . review_by ( identifiers ) review_rating = review . rating if review . present? if review && review . destroy self . update_cache! else raise RecordError , "Could not un-review #{review.inspect} by #{reviewer.inspect}: #{e}" end end
Remove the review of this reviewer from this object.
Remove the review of this reviewer from this object .
identifiers
<not_specific>