Sha256: c0bef91ef0c5bfb63ae05b89e4f8c0a8d4818afcb90638f299da07762b120ed6

Contents?: true

Size: 257 Bytes

Versions: 113

Compression:

Stored size: 257 Bytes

Contents

module Switchman
  module ActiveRecord
    module Persistence
      # touch reads the id attribute directly, so it's not relative to the current shard
      def touch(*)
        shard.activate(self.class.shard_category) { super }
      end
    end
  end
end

Version data entries

113 entries across 113 versions & 1 rubygems

Version Path
switchman-1.10.4 lib/switchman/active_record/persistence.rb
switchman-1.12.0 lib/switchman/active_record/persistence.rb
switchman-1.11.7 lib/switchman/active_record/persistence.rb
switchman-1.11.6 lib/switchman/active_record/persistence.rb
switchman-1.11.5 lib/switchman/active_record/persistence.rb
switchman-1.11.4 lib/switchman/active_record/persistence.rb
switchman-1.11.3 lib/switchman/active_record/persistence.rb
switchman-1.10.3 lib/switchman/active_record/persistence.rb
switchman-1.11.2 lib/switchman/active_record/persistence.rb
switchman-1.11.1 lib/switchman/active_record/persistence.rb
switchman-1.10.2 lib/switchman/active_record/persistence.rb
switchman-1.9.14 lib/switchman/active_record/persistence.rb
switchman-1.10.1 lib/switchman/active_record/persistence.rb
switchman-1.9.13 lib/switchman/active_record/persistence.rb
switchman-1.10.0 lib/switchman/active_record/persistence.rb
switchman-1.9.12 lib/switchman/active_record/persistence.rb
switchman-1.9.11 lib/switchman/active_record/persistence.rb
switchman-1.9.10 lib/switchman/active_record/persistence.rb
switchman-1.9.9 lib/switchman/active_record/persistence.rb
switchman-1.9.8 lib/switchman/active_record/persistence.rb