Class: Upkeep::Dependencies::ActiveRecordQuery
- Inherits:
-
ActiveRecordCollection
- Object
- Base
- ActiveRecordCollection
- Upkeep::Dependencies::ActiveRecordQuery
- Defined in:
- lib/upkeep/dependencies.rb
Constant Summary
Constants inherited from ActiveRecordCollection
Upkeep::Dependencies::ActiveRecordCollection::UNKNOWN
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(primary_table:, table_columns:, coverage:, sql:, predicates: []) ⇒ ActiveRecordQuery
constructor
A new instance of ActiveRecordQuery.
Methods inherited from ActiveRecordCollection
#collection_lookup_columns, #collection_lookup_tables, #matches_change?, #precision
Methods inherited from Base
#cache_key, #identity?, #identity_key, #matches_change?, #narrow_frame_safe?, #precision, #to_h, #visibility
Constructor Details
#initialize(primary_table:, table_columns:, coverage:, sql:, predicates: []) ⇒ ActiveRecordQuery
Returns a new instance of ActiveRecordQuery.
229 230 231 232 233 234 235 236 237 238 239 |
# File 'lib/upkeep/dependencies.rb', line 229 def initialize(primary_table:, table_columns:, coverage:, sql:, predicates: []) super( primary_table: primary_table, table_columns: table_columns, coverage: coverage, sql: sql, predicates: predicates, source: :active_record_query, precision: :query_predicate ) end |