Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.78 KB

CHANGELOG.md

File metadata and controls

50 lines (30 loc) · 1.78 KB

Merged a few PRs. Shouldn't break anything.

  • Appraisal: add rails 5.1 and 5.2
  • Appraisal: bundle update
  • Fix: alias_method_chain was deprecated a long time ago
  • Fix: clearing the cache will also clear the reverse lookup cache
  • Dev: .ruby-version 2.6.1
  • Doc: docs for :scope and :inverse_scope options on lookup_for method
  • Doc: add changelog

Fix .all on lookup models

Version 0.11.0 breaks Model.where(field: 'value').first_or_create! when Model is configured with lookup_by :field, cache: true.

Rails 5.0.0 support

Update .count signature to support Rails 5.

  • Require ruby 2.2.2+
  • PostgreSQL 9.2+
  • Drop support for JRuby

Default to a threadsafe cache