Module: XBar::Rails3::Persistence

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

Instance Method Summary collapse

Instance Method Details

#deleteObject



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

def delete
  reload_connection()
  super
end

#destroyObject



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(options = nil)
  reload_connection()
  super(options)
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