NoBrainerORM / nobrainer

Ruby ORM for RethinkDB
http://nobrainer.io/
Other
387 stars 49 forks source link

ActiveRecord Touch #150

Closed VidhyaKumar closed 9 years ago

VidhyaKumar commented 9 years ago

Can you please implement the touch method to update the timestamps in RethinkDB, thank you.

nviennot commented 9 years ago

touch() has the same behavior as timestamps with created_at and updated_at, they just use Time.now. The configuration of NoBrainer dictates what timezone behavior should be applied when serializing to the DB.

kuldeepaggarwal commented 9 years ago

Thanks for the explanantion :yellow_heart: