Suppose I have a Model called House with a field called name
how can I validate the name field, I tried name in the validate method
but
it doesn't work, i tried :name, House.name, I don't know how I can
validate this field within a validate method, I don't know how I can
access it.
You could just call name in the validate method (assuming you're redefining it) rather than self.name, as self will return the object that validate gets called on. You don't call self.self.name so why call self.name?