File tree 2 files changed +24
-2
lines changed
2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 1
- CHANGELOG
1
+ # CHANGELOG
2
+
3
+ ## [1.22.0](https://github.com/algolia/algoliasearch-rails/releases/tag/1.22.0) (2019-03-21)
4
+
5
+ 🚨 The documentation for our Rails integration was refreshed 🎉
6
+ https://www.algolia.com/doc/framework-integration/rails/getting-started/setup/
7
+
8
+ **Added**
9
+
10
+ * Introduce `algolia_dirty?` on models to decide if a model should be reindex.
11
+
12
+ This feature already exists via _changed? methods but might requires to implements many
13
+ methods if you have multiple dynamic attributes. Dynamic attributes are attributes not mapping
14
+ to a DB column. This feature allows you to group avoid all the _changed? method calls and
15
+ group all the logic inside one unique method.
16
+
17
+ **Fixed**
18
+
19
+ * Fix _changed? method call for Rails 5.2+ with dynamic attribute - PR [#338](https://github.com/algolia/algoliasearch-rails/pull/338)
20
+
21
+ Related issue: https://github.com/algolia/algoliasearch-rails/issues/140
22
+ Documentation: https://www.algolia.com/doc/framework-integration/rails/indexing/indexing/#automatic-updates
23
+
2
24
3
25
## [1.21.0](https://github.com/algolia/algoliasearch-rails/releases/tag/1.21.0) (2019-02-12)
4
26
Original file line number Diff line number Diff line change 1
1
module AlgoliaSearch
2
- VERSION = '1.21 .0'
2
+ VERSION = '1.22 .0'
3
3
end
You can’t perform that action at this time.
0 commit comments