Class: ActiveRecord::Bitemporal::Relation::WhereClauseWithCheckTable
- Inherits:
-
Relation::WhereClause
- Object
- Relation::WhereClause
- ActiveRecord::Bitemporal::Relation::WhereClauseWithCheckTable
- Defined in:
- lib/activerecord-bitemporal/scope.rb
Instance Method Summary collapse
Instance Method Details
#bitemporal_include?(column) ⇒ Boolean
133 134 135 136 137 |
# File 'lib/activerecord-bitemporal/scope.rb', line 133 def bitemporal_include?(column) !!predicates.grep(::Arel::Nodes::Node).find do |node| node.bitemporal_include?(column) end end |