search for: macro_name

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

2006 Jul 22
2
acts_as_automatic
...associations.yml. It will automatically add belongs_to to a model if it finds has_many or has_one pointing to that model, and it supports acts_as_list. I will probably refactor the code to automatically support any "macros", because there are essentially only three types of macros: macro_name macro_name :symbol, Hash macro_name Hash I will assume that each key represents a macro, and check whether there''s nil underneath it, a Hash underneath it, or a Hash pointing to a Hash underneath it. Example associations.yml: has_many: category : articles author : article...