I have a table A(:name, :flag) and want to update the flag column of a record in the table if a certain condition evaluates to true.
if A.find(300).flag == false //Will this work -> A.find(300).flag = true
What should I write in that line?
Aucun commentaire:
Enregistrer un commentaire