themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to update a record in Rails without updating its :updated_at

@thingy = Thingy.find(id)
@thingy.foo = 'bar'
@thingy.save(touch: false)