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

.cast_need_columns(*args) ⇒ Object



100
101
102
# File 'lib/pluck_all.rb', line 100

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

.pluck_all(*args) ⇒ Object



103
104
105
# File 'lib/pluck_all.rb', line 103

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

.pluck_array(*args) ⇒ Object



106
107
108
# File 'lib/pluck_all.rb', line 106

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