Class: ActiveRecord::Temporal::Querying::AssociationScope

Inherits:
Object
  • Object
show all
Defined in:
lib/activerecord/temporal/querying/association_scope.rb

Class Method Summary collapse

Class Method Details

.build(block) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/activerecord/temporal/querying/association_scope.rb', line 5

def build(block)
  scope = merge_scopes(block)

  def scope.temporal_scope? = true

  scope
end