given an association, return the name
Show Source
<def tag='model-association-class-name'> <%= (this.class_name.try.respond_to? 'underscore') ? this.class_name.underscore.singularize.camelize : this.try.class_name -%> </def>