mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
812e90482d
```ruby class User scope :active, -> { where(accepted: true, locked: false) } end User.active User.active.invert_where ``` |
||
---|---|---|
.. | ||
delegation_test.rb | ||
delete_all_test.rb | ||
merging_test.rb | ||
mutation_test.rb | ||
or_test.rb | ||
predicate_builder_test.rb | ||
record_fetch_warning_test.rb | ||
select_test.rb | ||
update_all_test.rb | ||
where_chain_test.rb | ||
where_clause_test.rb | ||
where_test.rb |