calculate_all method for aggregate functions in Active Record
-
Updated
Dec 18, 2018 - Ruby
Add a description, image, and links to the median topic page so that developers can more easily learn about it.
To associate your repository with the median topic, visit your repo's landing page and select "manage topics."
Colors apply to conditions in the alphabetical order of the conditions. Hence, the addition of user defined color when the conditions are ordered in a different manner (e.g. according to median value) is not intuitive.
Current work-around: select as the ordering: ‘By alphabet/number“ and insert the list of colors. After that the ordering can be changed.