Skip to content

Commit

Permalink
Fix the kwarg/hash argument mismatch error
Browse files Browse the repository at this point in the history
  • Loading branch information
mmizutani authored and shioyama committed Mar 28, 2023
1 parent 6653fd7 commit 95793b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mobility/plugins/backend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def included(klass)
klass.extend ClassMethods

if backend
@backend_class = backend.build_subclass(klass, backend_options)
@backend_class = backend.build_subclass(klass, **backend_options)

backend_class.setup_model(klass, names)

Expand Down

0 comments on commit 95793b2

Please sign in to comment.