makandra / active_type

Make any Ruby object quack like ActiveRecord
MIT License
1.09k stars 74 forks source link

Change inheritance use of keyword args for ruby 3 compatability #137

Closed pjo336 closed 3 years ago

pjo336 commented 3 years ago

I believe due to Ruby 3 changes around keyword arguments, the overridden functionality of has_many and has_one no longer works as expected. This causes #136 and this change has fixed the issue for me.

It's not very "railsy", so let me know if it needs a refactor.

judithroth commented 3 years ago

Hi pjo336 Thank you for your efforts! We added Ruby 3 support now.