Displaying 2 results from an estimated 2 matches for "top_ten".
Did you mean:
toghten
2006 Aug 03
2
calculating average ratings and other imponderables
Okay, this *should* be easy, but it isn''t, although I reserve the right to
smack myself upside the head if it is:
Assume that a smart has_many ratings, and a rating belongs_to a smart (the
models are fine). Each rating has a column smart_id.
Each smart, then, has many ratings, with a column called "rating" that is
an int (1-10).
I want to find, say, the ten smarts with
2006 May 10
9
noobie activerecord find query
In my webapp a todolist has many todo items. I am trying to display
lists that are completed. By incomplete I mean that all the items in
that list are done (booolean = true). I hope to have a list of active
lists and complete lists on one page.
I''m no ruby expert by any means so I think I have to ''pipe'' some results
into another query??
Can you help please?
--
Posted