how to flip a boolean with a builtin change
Is that possible? I don't see a way to get an attribute out with a dsl to do something like
change set_attribute(:somebool, !attribute(:somebool))2 Replies
Solution
atomic_update(:somebool, expr(not somebool)) ?thanks1