These are chat archives for rails-sqlserver/activerecord-sqlserver-adapter

Mar 2017
It seems that the average method works differently in activerecord sqlserver than the other adapters?
It returns a decimal, but that decimal always ends with a .0
... i think....
Seems like pretty confusing behavior.
Ben Kanouse
Mar 24 2017 16:34
For example averaging 4 and 3 returns 3.0. I would think it should either return 3 as an integer or 3.5. Preferably 3.5, since i think that's how the pg works