Class: ActiveRecord::Base

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

Class Method Summary collapse

Class Method Details

.cast_need_columns(*args) ⇒ Object



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

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

.pluck_all(*args) ⇒ Object



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

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

.pluck_array(*args) ⇒ Object



121
122
123
# File 'lib/pluck_all/models/active_record_extension.rb', line 121

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