Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/annotate/annotate_models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ def max_schema_info_width(klass, options)
end.max || 0
max_size += 2
else
max_size = cols.map(&:name).map(&:size).max
max_size = cols.map(&:name).map(&:size).max || 0
end
max_size += options[:format_rdoc] ? 5 : 1

Expand Down