On Feb 14, 11:29 am, akhil <[email protected]> wrote:
> Hi,
>
> I have been trying to use the touch plugin for storing last update
> timestamp.
>
> In the model I've included  'plugin :touch'
> The the corresponding DB table has a 'updated_at' column.
>
> For some reason the column doesnot get updated.

When does it not get updated?  If you use model.touch, it should get
updated.  Just saving will not update it, since that's not the job of
the touch plugin (the timestamps plugin does that).

Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to