We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7615d4 + 9e94392 commit 15e699eCopy full SHA for 15e699e
lib/annotate/annotate_models.rb
@@ -671,7 +671,7 @@ def classified_sort(cols)
671
end
672
[rest_cols, timestamps, associations].each {|a| a.sort_by!(&:name) }
673
674
- return ([id] << rest_cols << timestamps << associations).flatten
+ return ([id] << rest_cols << timestamps << associations).flatten.compact
675
676
677
# Ignore warnings for the duration of the block ()
0 commit comments