Class: Upkeep::Replay::ActiveRecordRelationValue

Inherits:
Object
  • Object
show all
Includes:
Value
Defined in:
lib/upkeep/replay.rb

Instance Method Summary collapse

Methods included from Value

from_h

Instance Method Details

#appendable?Boolean

Returns:

  • (Boolean)


210
211
212
# File 'lib/upkeep/replay.rb', line 210

def appendable?
  !!appendable
end

#to_hObject



214
215
216
217
218
219
220
221
222
223
224
225
# File 'lib/upkeep/replay.rb', line 214

def to_h
  {
    type: type,
    model: model,
    sql: sql,
    primary_key: primary_key,
    appendable: appendable,
    limit_value: limit_value,
    predicates: predicates,
    member_ids: member_ids
  }
end

#typeObject



208
# File 'lib/upkeep/replay.rb', line 208

def type = "active_record_relation"