diff --git a/CHANGELOG.md b/CHANGELOG.md index a41ca4a..eb2dec8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ * Drop support for Rails 5.2, Ruby 2.5 and 2.6. [https://github.com/amoeba-rb/amoeba/pull/120] * Notes on contributing. Github Actions for automate tests. [https://github.com/amoeba-rb/amoeba/pull/124] +* Fix tests for Active Record after 7.1. [https://github.com/amoeba-rb/amoeba/pull/127] ### 3.3.0 diff --git a/spec/support/models.rb b/spec/support/models.rb index b624c6d..dfa96cb 100644 --- a/spec/support/models.rb +++ b/spec/support/models.rb @@ -110,7 +110,7 @@ def self.dump(int_array) end end - serialize :value, ArrayPack + serialize :value, coder: ArrayPack before_create :hydrate_me