module SwitchPoint::Model::MonkeyPatch

Public Instance Methods

cache(&block) click to toggle source
Calls superclass method
# File lib/switch_point/model.rb, line 99
def cache(&block)
  if switch_point_proxy
    switch_point_proxy.cache(&block)
  else
    super
  end
end
connection() click to toggle source
Calls superclass method
# File lib/switch_point/model.rb, line 91
def connection
  if switch_point_proxy
    switch_point_proxy.connection
  else
    super
  end
end
uncached(&block) click to toggle source
Calls superclass method
# File lib/switch_point/model.rb, line 107
def uncached(&block)
  if switch_point_proxy
    switch_point_proxy.uncached(&block)
  else
    super
  end
end