Hi,

i have popularity table wich has a relationship with the
bookings-destinations. Some destinations are booked more then others.

The popularity table has the columns "primary-key" and a score.

Example

| TVC           |            6 |
| AZO           |            4 |
| TUO           |            3 |
| IVC           |            1 |
| VKO           |            1 |
| DMM           |            1 | 


Qeustion: how can i use a dynamic finder...with the purpose "show me the
the top 20 popularity destinations"

Grtz..remco
-- 
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