Module: Octopus::Rails3::Persistence
- Defined in:
- lib/octopus/persistence.rb
Instance Method Summary collapse
- #delete ⇒ Object
- #destroy ⇒ Object
- #reload(*args) ⇒ Object
- #touch(name = nil) ⇒ Object
- #update_attribute(*args) ⇒ Object
- #update_attributes(*args) ⇒ Object
- #update_attributes!(*args) ⇒ Object
- #update_column(*args) ⇒ Object
Instance Method Details
#delete ⇒ Object
20 21 22 |
# File 'lib/octopus/persistence.rb', line 20 def delete run_on_shard { super } end |
#destroy ⇒ Object
24 25 26 |
# File 'lib/octopus/persistence.rb', line 24 def destroy run_on_shard { super } end |
#reload(*args) ⇒ Object
16 17 18 |
# File 'lib/octopus/persistence.rb', line 16 def reload(*args) run_on_shard { super } end |
#touch(name = nil) ⇒ Object
28 29 30 |
# File 'lib/octopus/persistence.rb', line 28 def touch(name=nil) run_on_shard { super } end |
#update_attribute(*args) ⇒ Object
4 5 6 |
# File 'lib/octopus/persistence.rb', line 4 def update_attribute(*args) run_on_shard { super } end |
#update_attributes(*args) ⇒ Object
8 9 10 |
# File 'lib/octopus/persistence.rb', line 8 def update_attributes(*args) run_on_shard { super } end |
#update_attributes!(*args) ⇒ Object
12 13 14 |
# File 'lib/octopus/persistence.rb', line 12 def update_attributes!(*args) run_on_shard { super } end |
#update_column(*args) ⇒ Object
32 33 34 |
# File 'lib/octopus/persistence.rb', line 32 def update_column(*args) run_on_shard { super } end |