Plugins - ActsAsNetwork

StarAdd to favorites

acts_as_network is intended to simplify the definition and storage of reciprocal relationships between entities using ActiveRecord by exposing a “network” of 2-way connections.
What makes it special is that it does this in a DRY way using only a single record in an intermediate has_and_belongs_to_many join table or has_many :through join model. There is no redundancy, and you need only one instance of an association or join model to represent both directions of the relationship.
The plugin also provides an acts_as_union and general purpose UnionCollection to facilitate union representations of multiple ActiveRecord collections.

Stephen Lombardo

http://www.zetetic.net/2007/09/21/social-networking-with-rails-using-actsasnetwork

git://github.com/sjlombardo/acts_as_network.git

Rails' (MIT)

  • Currently 5.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Model

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?