Thanks - and no worries re the model, it's just an example...

Actually, I asked this question since I'd like to stick as much as 
possible to the "Rails way" of doing things (and therefor I'd like to 
try to avoid things like "original" SQL statements).

So, any idea how the part...

   :conditions => "books.published = TRUE AND
                   number-of-authors-must-be-greater-than-5"

...would have to be? (In the Rails kind of way?)

(I tried using the API, but don't seem to get it.)
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en.

Reply via email to