Rails 6 Adds ActiveRecord::Relation#touchall — It’s like touch (which updates records’ updatedat or other timestamps) but for multiple records.
Appears in lists (1)
More like this (4)
Recyclable Cache Keys in Rails — Rails 5.2 added cache_versioning and collection_cache_versioning to support recyclable cache...
Rails 5: Getting Started with Active Storage — A basic introduction, complete with code you can...
Rails 6 Adds if_not_exists Option to create_table
Rails 6 Adds implicit_order_column — Adds the ability to control which column is used for order,...