When is a record really updated_at in Ruby on Rails (and the under-overlooked Observer class)?

From Pushrod, 1 year ago, 0 views

Here’s one. When is an item ‘updated’? Well, if you’re using Ruby on Rails, and its automatic timestamps (in particular, updated_at) it’s whenever you save that object. Which is great. One less thing to think about. However, in the real world, it’s a little more complicated. Take someone’s house. Sure, it changes when the owner changes [...]

comments

No comments yet.

You must be logged in to add your own comment.