From 95793b2df11ab3a05e0dff9d9cc971bc7f024036 Mon Sep 17 00:00:00 2001 From: Minoru Mizutani Date: Thu, 23 Mar 2023 10:28:49 +0900 Subject: [PATCH] Fix the kwarg/hash argument mismatch error --- lib/mobility/plugins/backend.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mobility/plugins/backend.rb b/lib/mobility/plugins/backend.rb index 3ceedbb0..2d9a5783 100644 --- a/lib/mobility/plugins/backend.rb +++ b/lib/mobility/plugins/backend.rb @@ -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)