anchor.diff:  	return err
   }
   
  +// UpdateColumns method is supposed to be used to update <%= @model_name %> records as corresponding update_columns in Rails
   func (_<%= model_name_underscore %> *<%= @model_name %>) UpdateColumns(am map[string]interface{}) error {
   	if _<%= model_name_underscore %>.Id == 0 {
   		return errors.New("Invalid Id field: it can't be a zero value")
  
positive.code: 	<%- belongs_to.each do |k, v| -%>
      <%-# don't create virtual table for polymorphic model -%>
  	<%- next if v[:polymorphic] -%>
  func (_<%= model_name_underscore %> *<%= @model_name %>) Create<%= k %>(am map[string]interface{}) error {
  	<%- if v[:foreign_key] -%>
  	am["<%= v[:foreign_key] %>"] = _<%= model_name_underscore %>.Id
  
negative.code: 	return lastId, nil
  }
  
  // Create is a method for <%= @model_name %> to create a record
  func (_<%= model_name_underscore %> *<%= @model_name %>) Create() (int64, error) {
  	ok, err := govalidator.ValidateStruct(_<%= model_name_underscore %>)
  	if !ok {
  