Hi,

Has anyone put in the effort to get the standard ActiveScaffold calculations
work on Virtual Coulmns?

Quantity_sold is a virtual column defined in the model (as opposed to being
a database column). But AS does not support calculations for those.

config.columns[:quantity_sold].calculate = :sum

Is this doable with reasonable effort ?

/S


-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to