Skip to content

Commit 02bb82d

Browse files
authored
fix cannot modify frozen string error in modern rubys (gregschmit#165)
1 parent 89af143 commit 02bb82d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helpers/recurring_select_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def ice_cube_rule_to_option(supplied_rule, custom = false)
6565
ar = [rule.to_s, rule.to_hash.to_json]
6666

6767
if custom
68-
ar[0] << "*"
68+
ar[0] += "*"
6969
ar << {"data-custom" => true}
7070
end
7171

0 commit comments

Comments
 (0)