Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Marcus64's Profile

GitHub User: Marcus64

Comments by

Avatar

I have tested this advanced search method for my application and it's working fine.

My question is how can i implement field calculation in that model?

Example for products models showing here, if i need to have "totals of products selected", "total product's cost" and "average cost", where can i put these calculation methods?