gneeot
(gneeot)
1
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
end
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:
http://groups.google.com/group/rubyonrails-talk
The core list is primarily for discussion of changes to the Rails core and not for questions about Rails itself. Thanks!
V/r
Anthony Eden