Class: ActiveRecord::Base

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

Class Method Summary collapse

Class Method Details

.cast_need_columns(*args) ⇒ Object



108
109
110
# File 'lib/pluck_all/models/active_record_extension.rb', line 108

def cast_need_columns(*args)
  where(nil).cast_need_columns(*args)
end

.pluck_all(*args) ⇒ Object



112
113
114
# File 'lib/pluck_all/models/active_record_extension.rb', line 112

def pluck_all(*args)
  where(nil).pluck_all(*args)
end

.pluck_array(*args) ⇒ Object



116
117
118
# File 'lib/pluck_all/models/active_record_extension.rb', line 116

def pluck_array(*args)
  where(nil).pluck_array(*args)
end