I have the following code - User.where(:id => params[:id]).update(:total_levels_played => Sequel.expr(1) + :total_levels_played)
I'm using the timestamps plugin to set updated_at automatically. However, when I run the above code, the object is updated but the timestamp is not. It seems the only way to change updated_at is by running object.save. Is that intended behavior? -- 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 http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
