def associations
      @associations ||= [].tap do |fields|
        @model.reflect_on_all_associations.each do |association|
          fields << resolve(association.macro, association.name)
        end
      end
    end
def associations
      @associations ||= [].tap do |fields|
        @model.reflect_on_all_associations.each do |association|
          fields << resolve(association.macro, association.name)
        end
      end
    end
Collects fields from model associations
 @return [Array]