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 On 7/15/07, gneeot <[EMAIL PROTECTED]> wrote: > > > 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? > > > > > -- Cell: 808 782-5046 Current Location: Melbourne, FL --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
