Colin Law wrote:
[...]
>> [...]
>> I'd actually support a syntax for union queries such as
>> Person.union_scope(:scope_a, :scope_b).  This makes it obvious that it
>> is not a simple scope chain, while still being simple to call.
> 
> Is that not what the OP was asking for in the original post to quote 
> from there:
> 
>> Is it possible to have two named scopes that can be joined using OR 
>> condition.
> 
> To which you replied:
> 
>> Goodness, I hope not.  That would be a terrible misuse of named_scopes.

I had thought that the OP was specifically asking about named_scope 
chaining with OR as in the other thread.  On rereading, however, it 
seems that you're right and I misunderstood the question.

> 
> Colin

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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