This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
LICENSE | ||
| |
README.textile | ||
| |
init.rb | ||
| |
lib/ |
Extracted from acts_as_network.
acts_as_union simply presents a union’ed view of one or more ActiveRecord
relationships (has_many or has_and_belongs_to_many, acts_as_network, etc).
In this case a call to the aquantainces method will return a UnionCollection on both
a person’s friends and their colleagues. Likewise, finder operations will work accross
the two distinct sets as if they were one. Thus, for the following code
both Stephen’s friends and colleagues collections would be searched for someone named Billy.
acts_as_union doesn’t accept any options.












