I'm trying to convert a non-sql application (4D or 4th Dimension) to
rails. Got all the CRUD stuff down, but I'm running into problem in
generating reports. 4D makes heavy use of Sets and Selections, which
are really just an array of record numbers that can be used to quickly
restore a query. Those arrays make aggregate reporting fairly easy. I
can get there using an sql query. I'm just looking for the best
approach using rails.
Lets say I have a simple has_many, belong_to relation:
I'm trying to convert a non-sql application (4D or 4th Dimension) to
rails. Got all the CRUD stuff down, but I'm running into problem in
generating reports. 4D makes heavy use of Sets and Selections, which
are really just an array of record numbers that can be used to quickly
restore a query. Those arrays make aggregate reporting fairly easy. I
can get there using an sql query. I'm just looking for the best
approach using rails.
Lets say I have a simple has_many, belong_to relation: