Class: ActiveRecord::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/pluck_all.rb,
lib/pluck_all.rb

Class Method Summary collapse

Class Method Details

.pluck_all(*args) ⇒ Object


78
79
80
# File 'lib/pluck_all.rb', line 78

def self.pluck_all(*args)
  self.where('').pluck_all(*args)
end

.pluck_array(*args) ⇒ Object


81
82
83
# File 'lib/pluck_all.rb', line 81

def self.pluck_array(*args)
  self.where('').pluck_array(*args)
end