Skip to content

Commit

Permalink
Merge pull request #11309 from crakalakin/AR-querying-guide
Browse files Browse the repository at this point in the history
removes markdown code markers from displaying in the active record querying guide [ci skip]
  • Loading branch information
carlosantoniodasilva committed Jul 5, 2013
2 parents f3f46a6 + e0b3920 commit cb0dacf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions guides/source/active_record_querying.md
Expand Up @@ -1210,9 +1210,7 @@ class User < ActiveRecord::Base
scope :active, -> { where state: 'active' }
scope :inactive, -> { where state: 'inactive' }
end
```

```ruby
User.active.inactive
# => SELECT "users".* FROM "users" WHERE "users"."state" = 'active' AND "users"."state" = 'inactive'
```
Expand Down

0 comments on commit cb0dacf

Please sign in to comment.