Skip to content

Commit c138407

Browse files
authored
avoid ruby 3.4 chilled string warning
1 parent f4cf4b6 commit c138407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/rails_admin/config/configurable.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def register_instance_option(option_name, scope = self, &default)
5252
options = scope.instance_variable_get('@config_options') ||
5353
scope.instance_variable_set('@config_options', {})
5454

55-
option_name = option_name.to_s
55+
option_name = option_name.to_s.dup
5656
options[option_name] = nil
5757

5858
# If it's a boolean create an alias for it and remove question mark

0 commit comments

Comments
 (0)