Skip to content

Commit

Permalink
Merge pull request #127 from jrmhaig/fix_deprecation_in_serialize
Browse files Browse the repository at this point in the history
Pass coder to serialize as keyword argument
  • Loading branch information
jrmhaig authored Jun 30, 2024
2 parents ca0ab62 + fb0712d commit 6adbbc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion spec/support/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def self.dump(int_array)
end
end

serialize :value, ArrayPack
serialize :value, coder: ArrayPack

before_create :hydrate_me

Expand Down

0 comments on commit 6adbbc5

Please sign in to comment.