From 7b4ca04416235bd3527a77c39e8f3c1c75da3a9f Mon Sep 17 00:00:00 2001 From: Markus Doits Date: Wed, 11 Mar 2020 19:11:52 +0100 Subject: [PATCH] correctly pass every option to super if mobility is not responsible --- lib/mobility/plugins/fallthrough_accessors.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mobility/plugins/fallthrough_accessors.rb b/lib/mobility/plugins/fallthrough_accessors.rb index b584d73fd..36d8b2564 100644 --- a/lib/mobility/plugins/fallthrough_accessors.rb +++ b/lib/mobility/plugins/fallthrough_accessors.rb @@ -53,7 +53,7 @@ def initialize(*attributes) locale = "#{locale}-#{suffix.upcase}" if suffix public_send("#{attribute}#{$4}", *arguments, **options, locale: locale.to_sym) else - super(method_name, *arguments, &block) + super(method_name, *arguments, **options, &block) end end