Skip to content

Commit 3a78787

Browse files
authored
fix: can't modify frozen String: "decimal" (#895)
Resolves: #834
1 parent 22ab676 commit 3a78787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/annotate/annotate_models.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def get_col_type(col)
239239
'bigint'
240240
else
241241
(col.type || col.sql_type).to_s
242-
end
242+
end.dup
243243
end
244244

245245
def index_columns_info(index)

0 commit comments

Comments
 (0)