```ruby
module Arsi
  module Relation
    attr_writer  :without_arsi

    def without_arsi
      if block_given?
        raise "Use without_arsi in a chain. Don't pass it a block"
      end
      dup.tap(&:without_arsi!)
    end

    def without_arsi!
      @without_arsi = true
    end

    def without_arsi?
      return @without_arsi if defined?(@without_arsi) && @without_arsi
      !arsi_scopeable?
    end

    def delete_all(*)
      with_relation_in_connection { super }
    end

    def self.prepended(base)
      base.class_eval do
        alias_method :update_all_without_arsi, :update_all
        def update_all(*args)
          with_relation_in_connection { update_all_without_arsi(*args) }
        end
      end
    end

    private

    def arsi_scopeable?
      @klass.columns.any? { |c| c.name =~ Arsi::SCOPEABLE_REGEX }
    end

    def with_relation_in_connection
      @klass.connection.arsi_relation = self
      yield
    ensure
      @klass.connection.arsi_relation = nil
    end
  end
end
```

Remove alias-chain necessary for Rails 4.0
user
```ruby
module Arsi
  module Relation
    attr_writer  :without_arsi

    def without_arsi
      if block_given?
        raise "Use without_arsi in a chain. Don't pass it a block"
      end
      dup.tap(&:without_arsi!)
    end

    def without_arsi!
      @without_arsi = true
    end

    def without_arsi?
      return @without_arsi if defined?(@without_arsi) && @without_arsi
      !arsi_scopeable?
    end

    def delete_all(*)
      with_relation_in_connection { super }
    end

    def update_all(*)
      with_relation_in_connection { super }
    end

    private

    def arsi_scopeable?
      @klass.columns.any? { |c| c.name =~ Arsi::SCOPEABLE_REGEX }
    end

    def with_relation_in_connection
      @klass.connection.arsi_relation = self
      yield
    ensure
      @klass.connection.arsi_relation = nil
    end
  end
end
```
assistant