You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi🖐️
I have encountered the following error after upgrading Grape version from 2.2.0 to 2.3.0.
bin/rails aborted!
TypeError: wrong argument type Class (expected Module) (TypeError)
extend Base
^^^^
~/vendor/bundle/ruby/3.3.0/gems/grape-active_model_serializers-1.5.2/lib/grape-active_model_serializers/error_formatter.rb:4:in `extend'
This Grape Pull Request have changed Base from module to class. ruby-grape/grape#2516
Thanks!
My environment
Ruby: 3.3.0
Ruby on Rails: 7.2.2
grape: 2.3.0
grape-active_model_serializers: 1.5.2