search for: something_id

Displaying 1 result from an estimated 1 matches for "something_id".

Did you mean: something_a
2006 Jul 22
2
acts_as_automatic
Acts as automatic has two purposes: 1) provide acts_as_automatic act, which will automatically run the appropriate methods when conventions are adhered to (e.g. if you have category_id, it will assume that the model belongs_to :category). Only belongs_to via something_id is currently implemented. 2) Allow the creation of associations.yml, which will hold associations instead of inside each individual model. There''s no need for a custom acts--the extension will automatically do its work if acts_as_automatic is installed and it finds associations.yml. I...