No commit activity in last 3 years
No release in over 3 years
A Rails plugin that allows you to create habtm :through relationships across multiple models using using a single join table.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.1.0
 Project Readme

acts_as_relationable

Automatically creates habtm :through relationships across multiple models using using a single join table.

Features

  • Can be self referential
  • Quickly define relationship-specific fields
  • Create relationships between STI models

Install

gem install winton-acts_as_relationable

Add to environment.rb

config.gem 'winton-acts_as_relationable', :lib => 'acts_as_relationable', :source => 'http://gems.github.com'

From your application directory

script/generate acts_as_relationable
rake db:migrate

Usage

Check out the wiki for usage examples.

Copyright © 2008 Winton Welsh