On Oct 13, 2:24 am, Marnen Laibow-Koser
[email protected] wrote:
Then you want something like
new_value = do_something_to(value)
self[:status] = new_value # assuming this class is derived from AR
The reason your attempt to do status = value didn’t work is that it was
just calling the same method.
Aaaah. Or course! You can omit the parantheses in ruby method call.
Thanks heaps for pointing me this out.