Module: ConsoleUpdate::NamedScope

Defined in:
lib/console_update/named_scope.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#console_update(options = {}) ⇒ Object



12
13
14
15
16
17
18
19
# File 'lib/console_update/named_scope.rb', line 12

def console_update(options={})
  records = send(:proxy_found)
  unless records.empty?
    records[0].class.console_update(records, options)
  else
    []
  end
end