How to remove field names in validates_presence_of on rails Model
How to remove field name in validates_presence_of on rails Model for next encoding
validates_presence_of :address, :attributes => true, :discard_if => :invalid?, :on => :save, :message=> "Invalid Address"
and Output -
Address Invalid address
and I don't want the address field in this check
Please help me to solve this problem.
source to share