- Also fix compatibility with Rails 8.0.0alpha: rails/rails#52717. Missed a few places.
- Fix compatibility with Rails 8.0.0alpha: rails/rails#52717
- Fix a Ruby warning that was emitted when
frozen_record
is loaded.
- TestHelper.unload_fixture: handle models without data.
- Allow to define some richer attibute types, somewhat akin to Active Record
serialize
attributes. See the README for more information. - Fix
Model.find_by
fastpath raising an error when called before records are loaded.
- Properly load records when entiring the single attribute lookup fastpath.
- Optimized single attribute lookup.
- Drop dependency on
dedup
gem.
FrozenRecord::Base#==
now returnsfalse
if the primary key isnil
(to match theActiveRecord::Base
implementation)
- Minor Ruby 3.2 compatiblity fix (regarding
ruby2_keywords
).
- Also disable max_records_scan when loading
Compact
records.
- Fix FrozenRecord.ignore_max_records_scan not applying
- More reliable way to disable max_records_scan checks when loading records.
- Disable max_records_scan checks when loading records.
- Add
FrozenRecord::Base.with_max_record_scan
for more easily allowing larger amount in specific tests.
- Fix index selection not applying some restrictions.
- Improve index selection and combinaison. Should significantly help with performance in some cases.
- Implement
max_records_scan
to reject slow queries. - Only load
Railtie
integration ifRails::Railtie
is defined - Allow granular fixture unloading
- Fix a bug affecting older bootsnap versions
NO DATA