How to create "custom" fields in Model?

How to create "custom" fields in Model? like sum, based on quantity
and price.
I guess it should be something like:

  def summ
    price * quantity
Am I right?

If so, How to use them in :conditions parameter of the
ActiveRecord::Base::find method? Is it possible it all?

Please use the Rails Talk list for questions like this:

The core list is primarily for discussion of changes to the Rails core and not for questions about Rails itself. Thanks!

Anthony Eden

ok, sorry