Hello. This is Wojtek reporting on recent changes from Rails world.
Add cache_version on relation to support recyclable cache keys via the versioned entries in ActiveSupport::Cache. This also means that cache_key will now return a stable key that does not include the max timestamp or count any more.
Reports 2x ~ 30x faster execution time compared to original implementation.
It is now possible to use methods defined by Dirty module on store accessors.
Adds shortcut for very common case:
after_commit :hook, on: [ :create, :update ]
It is now possible to register custom tags that will be included on bin/rails notes command.
Based on state of database it runs setup or migrate tasks.
It is now possible to opt-out from listening on chosen events.
Replaced two files with one. From now on bin/setup should be idempotent in the project, thus should run fine on the first time setup and after any update.
71 people contributed to Rails in the last 3 weeks. You can see the full list of changes here.
Until next time!