On 16 May, 16:46, Albus Dumbledore <[email protected]> wrote:
> > It's scope that is bothering me. Firstly we can have our rows grouped > by a foreign key (which seems trivial enough). However, what happens if > it is a polymorphic reference, i.e. we need to use two columns to select > a unique row? > Scope can be a string in which case you can include more stuff or you can override the scope_condition method - have a nose around in the source code for acts as list Fred -- 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.

