Algoliasearch Rails Versions Save

AlgoliaSearch integration to your favorite ORM

2.3.2

1 month ago

What's Changed

New Contributors

Full Changelog: https://github.com/algolia/algoliasearch-rails/compare/2.3.1...2.3.2

2.3.1

5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/algolia/algoliasearch-rails/compare/2.3.0...2.3.1

2.3.0

8 months ago

What's Changed

Full Changelog: https://github.com/algolia/algoliasearch-rails/compare/2.2.2...2.3.0

2.2.2

11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/algolia/algoliasearch-rails/compare/2.2.1...2.2.2

2.2.1

11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/algolia/algoliasearch-rails/compare/2.2.0...2.2.1

2.2.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/algolia/algoliasearch-rails/compare/2.1.4...2.2.0

2.0.0

3 years ago

Breaking changes

  • Adds support for algolia gem.
  • Drops support for Ruby < 2.4
  • Drops support for Rails < 5.1

1.25.0

3 years ago

Added

  • Pass array argument to geoloc (#372)
  • Containerize the repo (#391)

Fixed

  • Use Zeitwerk for loading models in Rails 6 (#364)

1.23.0

4 years ago

Added

  • Introduce rake algoliasearch:set_all_settings command - PR #315

    This command will push settings for all models to all indices: primary index, replicas and additional indices. It follows the inherit: true option. It should typically be added to your deployment script

  • Add option to disable automatic settings - PR #315

    By default, this gem check your settings to see when to push them. Depending on your implementation, it might create a lot of API calls. If you wish to disable the automatic change detection for settings, use the check_settings option:

    class Musician < ActiveRecord::Base
      include AlgoliaSearch
    
      algoliasearch check_settings: false do
        # Settings...
      end
    end
    

Fixed

  • Handle attribute_changed? in transactions - PR #354

1.22.0

5 years ago

🚨 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