given an association, return the macro type (has_many, etc.)
has_many
Show Source
<def tag='model-association-macro'> <%= if this.macro.to_s=='has_many' && this.options[:through] 'has_many :through' else this.macro.to_s end -%> </def>