def build
      # handle recuring events
      @local_event.tap do |le|
        if @event.rrule.present?
          @rrule = @event.rrule.first # only support recurrence on one schedule
          # set out new event's basic rucurring properties
          le.attributes = recurrence_attributes

          set_date_exclusion
          frequency_set
        else # make sure we remove this if it changed
          le.attributes = non_recurrence_attributes
        end
      end
    end
def build
      # handle recuring events
      @local_event.tap do |le|
        if @event.rrule.present?
          @rrule = @event.rrule.first # only support recurrence on one schedule
          # set out new event's basic rucurring properties
          le.attributes = recurrence_attributes

          set_date_exclusion
          frequency_set
        else # make sure we remove this if it changed
          le.attributes = non_recurrence_attributes
        end
      end
    end
Get single-occurrence events built and get a lits of recurrence
 events, these must be build last