notifications-rails
notifications-rails copied to clipboard
Supports ActiveRecord >= 7
ActiveRecord 7 introduced a change in the serialize method, requiring
the coder: keyword argument instead of the previous syntax. This commit
adds version detection to apply the correct serialize syntax dynamically.
This ensures the library remains compatible across different versions of ActiveRecord without breaking older setups.
UP
UP
Up!
+1
+1
+1
@jonhue is ready to review. Can you review that?