Based on your comment and from what I can understand you have a Product model, and you want to set the price, only if the products available flag is true.
As per other comments, i don't think you can stack validations... And even if it's possible in some way, I don't think it is good UX to have a validation error like "price must not be set if product is unavailable".
My suggestion is to have only the first validation, and silently reject the price if the flag is set to false. First via javascript for good UX (disable the input when the boolean is checked), and secondly inside a callback to be sure no one tampers with the HTML.
The ruby part can go like this:
class Product < ActiveRecord::Base
validates :price, presence: true, if: "available?"
before_save :reject_price, if: "available? == false"
private
def reject_price
self.price = nil
end
end