This plugin allows for extensible models, where inter-model relations are inferred from the database's structure, and not necessarily from explicit declarations in the models. This means, when one of your models acts_as_magic_model, this plugin will try to infer all the basic relations (+has_many+, +belongs_to+ and +has_and_belongs_to_many+) its base table has with other tables in the database, adapting the model correspondingly.

gem install acts_as_magic_model -v 0.3.1