When you define an attribute in ActiveRecord, the following methods are available
def needs_review
end
def needs_review=(value)
end
You can invoke the installer using
needs_review = "hello"
, . , Ruby , .
def one
needs_review = "foo"
needs_review
end
one
def two
needs_review
end
two
:
self.method_name =, setterself.method_name,