I posted this as a bug report since I think it may be one, but I'm posting 
here too since I haven't gotten any response.


I'm having a weird issue that I've never seen before, where an item isn't 
being updated..


Example:

available = $db[:users].where(:active=>0)
first_user = available.first
first_user.update(:active => 1)


Unless I'm mistaken, this should update the non-active user to be 'active', 
however it's not actually modifying the user.. if I print out 
$db[:users].all, it won't show that user as having :active changed to a 1.


I've tried all sorts of variations, including 
$db[:users].where(:active=>0).first.update(:active=> 1)... still not 
working.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to