On Tue, Aug 17, 2010 at 9:39 PM, Sandip Ransing <san2...@gmail.com> wrote:

> Is it possible to have two named scopes that can be joined using OR condition.

How about

result = (named_scope_1 + named_scope_2).uniq

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to