Skip to content

krisleech/polymorphia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polymorphia

Associate any ActiveRecord object to another without has_one, has_many, has_and_belongs_to_many, or join tables.

THIS IS AN FUN EXPERIMENT AND A WORK IN PROGRESS

Associate.this(person).to(university).commit!
Assosiate.this(website).with(category)

Assosiate.find(:category).for(website)
Assosaite.find(:all).for(website)
Assosaite.find(:comment).for(:post).via(blog)
Assosaite.find(:documents).via(:category).for(website)

About

Associate any ActiveRecord object to another

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages