Skip to content

Commit

Permalink
Merge pull request #1149 from fauno/master
Browse files Browse the repository at this point in the history
Use unfrozen version of symbol to string
  • Loading branch information
scarroll32 authored Nov 27, 2020
2 parents dc3eb66 + 838cb6d commit 3e1eff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ransack/nodes/grouping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def groupings=(groupings)
alias :g= :groupings=

def method_missing(method_id, *args)
method_name = method_id.to_s
method_name = method_id.to_s.dup
writer = method_name.sub!(/\=$/, ''.freeze)
if attribute_method?(method_name)
if writer
Expand Down

0 comments on commit 3e1eff7

Please sign in to comment.