Class: ActiveStorage::AwsRecord::Relation::WhereChain
- Inherits:
-
Object
- Object
- ActiveStorage::AwsRecord::Relation::WhereChain
- Defined in:
- lib/active_storage/aws_record/relation.rb
Instance Method Summary collapse
-
#initialize(relation) ⇒ WhereChain
constructor
A new instance of WhereChain.
- #not(attributes) ⇒ Object
Constructor Details
#initialize(relation) ⇒ WhereChain
Returns a new instance of WhereChain.
153 154 155 |
# File 'lib/active_storage/aws_record/relation.rb', line 153 def initialize(relation) @relation = relation end |
Instance Method Details
#not(attributes) ⇒ Object
157 158 159 |
# File 'lib/active_storage/aws_record/relation.rb', line 157 def not(attributes) @relation.not(attributes) end |