Module: Octopus::Rails3::Persistence

Defined in:
lib/octopus/rails3/persistence.rb

Instance Method Summary collapse

Instance Method Details

#deleteObject



20
21
22
# File 'lib/octopus/rails3/persistence.rb', line 20

def delete
  run_on_shard { super }
end

#destroyObject



24
25
26
# File 'lib/octopus/rails3/persistence.rb', line 24

def destroy
  run_on_shard { super }
end

#reload(*args) ⇒ Object



16
17
18
# File 'lib/octopus/rails3/persistence.rb', line 16

def reload(*args)
  run_on_shard { super }
end

#touch(name = nil) ⇒ Object



28
29
30
# File 'lib/octopus/rails3/persistence.rb', line 28

def touch(name=nil)
  run_on_shard { super }
end

#update_attribute(*args) ⇒ Object



4
5
6
# File 'lib/octopus/rails3/persistence.rb', line 4

def update_attribute(*args)
  run_on_shard { super }
end

#update_attributes(*args) ⇒ Object



8
9
10
# File 'lib/octopus/rails3/persistence.rb', line 8

def update_attributes(*args)
  run_on_shard { super }
end

#update_attributes!(*args) ⇒ Object



12
13
14
# File 'lib/octopus/rails3/persistence.rb', line 12

def update_attributes!(*args)
  run_on_shard { super }
end

#update_column(*args) ⇒ Object



32
33
34
# File 'lib/octopus/rails3/persistence.rb', line 32

def update_column(*args)
  run_on_shard { super }
end