Class: ActiveRecord::Associations::AssociationProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/vestal_versions/versions.rb

Instance Method Summary collapse

Instance Method Details

#send(method, *args) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/vestal_versions/versions.rb', line 6

def send(method, *args)
  if proxy_respond_to?(method, true)
    super
  else
    load_target
    @target.send(method, *args)
  end
end