Module: XBar::Rails3::Persistence
- Defined in:
- lib/xbar/rails3/persistence.rb
Instance Method Summary collapse
- #delete ⇒ Object
- #destroy ⇒ Object
- #reload(options = nil) ⇒ Object
- #update_attribute(name, value) ⇒ Object
- #update_attributes(attributes) ⇒ Object
- #update_attributes!(attributes) ⇒ Object
Instance Method Details
#delete ⇒ Object
24 25 26 27 |
# File 'lib/xbar/rails3/persistence.rb', line 24 def delete reload_connection() super end |
#destroy ⇒ Object
29 30 31 32 |
# File 'lib/xbar/rails3/persistence.rb', line 29 def destroy reload_connection() super end |
#reload(options = nil) ⇒ Object
19 20 21 22 |
# File 'lib/xbar/rails3/persistence.rb', line 19 def reload( = nil) reload_connection() super() end |
#update_attribute(name, value) ⇒ Object
4 5 6 7 |
# File 'lib/xbar/rails3/persistence.rb', line 4 def update_attribute(name, value) reload_connection() super end |
#update_attributes(attributes) ⇒ Object
9 10 11 12 |
# File 'lib/xbar/rails3/persistence.rb', line 9 def update_attributes(attributes) reload_connection() super end |
#update_attributes!(attributes) ⇒ Object
14 15 16 17 |
# File 'lib/xbar/rails3/persistence.rb', line 14 def update_attributes!(attributes) reload_connection() super end |