1.22.0
π¨ The documentation for our Rails integration was refreshed π
It will be published very soon here: https://www.algolia.com/doc/framework-integration/rails/getting-started/setup/
Preview is available here: https://deploy-preview-2711--algolia-doc.netlify.com/doc/framework-integration/rails/getting-started/setup/
Added
-
Introduce
algolia_dirty?
on models to decide if a model should be reindex.This feature already exists via _changed? methods but might requires to implements many
methods if you have multiple dynamic attributes. Dynamic attributes are attributes not mapping
to a DB column. This feature allows you to group avoid all the _changed? method calls and
group all the logic inside one unique method.
Fixed
-
Fix _changed? method call for Rails 5.2+ with dynamic attribute - PR #338
Related issue: #140
Documentation: https://www.algolia.com/doc/framework-integration/rails/indexing/indexing/#automatic-updates