anchor.diff:  				case "<%= k.underscore.pluralize %>":
   				    <%- if v[:through] || v[:as] -%>
   						// FIXME: optimize the query
  -						for i, vvv := range  _<%= param_name_plural %> {
  +						for i, vvv := range  _<%= var_pmn %> {
   							_<%= k.underscore.pluralize %>, err := <%= @model_name %>Get<%= k.pluralize %>(vvv.Id)
   							if err != nil {
   								continue
   							}
   							vvv.<%= k %> = _<%= k.underscore.pluralize %>
  -						    _<%= param_name_plural %>[i] = vvv
  +						    _<%= var_pmn %>[i] = vvv
   						}
   					<%- else -%>
   						<%- if v[:foreign_key] -%>
   							where := fmt.Sprintf("<%= v[:foreign_key] %> IN (?%s)", idsHolder)
   						<%- else -%>
  -							where := fmt.Sprintf("<%= model_name_underscore %>_id IN (?%s)", idsHolder)
  +							where := fmt.Sprintf("<%= var_umn %>_id IN (?%s)", idsHolder)
   						<%- end -%>
   						_<%= v[:class_name].underscore.pluralize %>, err := Find<%= v[:class_name].pluralize %>Where(where, ids...)
   						if err != nil {
  
positive.code: }
  
  // Get<%= k.pluralize %> is used for <%= @model_name %> to get associated objects <%= k.pluralize %>
  // Say you have a <%= @model_name %> object named <%= model_name_underscore %>, when you call <%= model_name_underscore %>.Get<%= k.pluralize %>(),
  // the object will get the associated <%= k.pluralize %> attributes evaluated in the struct
  func (_<%= model_name_underscore %> *<%= @model_name %>) Get<%= k.pluralize %>() error {
  	_<%= k.underscore.pluralize %>, err := <%= @model_name %>Get<%= k.pluralize %>(_<%= model_name_underscore %>.Id)
  	if err == nil {
  		_<%= model_name_underscore %>.<%= k %> = _<%= k.underscore.pluralize %>
      }
      return err
  }
  
negative.code: 		}
  	}
  	<%- end -%>
  	return _<%= var_pmn %>, nil
  }
  
  // <%= @model_name %>Ids get all the IDs of <%= @model_name %> records
  