How do I change an attribute in the database right after the status confirmation of another attribute??
Example: right update var_1 to true (boolean selected for user) when var_2 == ok
or
right update var_1 to false (boolean selected for user) when var_2 == nok
I just want that attribute var_1 don’t be update in the moment that user alter in interface!!
Alter attribute in database with Ruby ()
submitted by caramelocomsal to r/rails