Closed niborg closed 1 year ago
Seems to not be working on Travis with Rails 4.2 & Postgres. I can't replicate locally, will try to figure it out when I have a moment.
What's the status of this PR? @t27duck do you see it ok?
@niborg did you tried to do a new commit? Maybe was a Travis issue. I saw the same in another PR I did in this project
@andresgutgon - I already tried re-running CI on this branch. It has something to do with Rails 4.2
Haven't had the time to figure out the issue yet, unfortunately.
Closing as I think the passage of time indicates this is not relevant to anyone anymore :)
We needed more granular control over the aggregate function results, as our data was not perfectly modeled to get what we wanted. So we added the
aggregate_expression
declaration to the fact model API, which allowed us to mix in some SQL when needed. Works like so:Of course, Metric still works as it previous did as well. We have been using this feature in our production app with no issues.
Hope you think this is something that would be constructive to your delightful gem! As always, open to any feedback.