提交 cb0dacf9 编写于 作者: C Carlos Antonio da Silva

Merge pull request #11309 from crakalakin/AR-querying-guide

removes markdown code markers from displaying in the active record querying guide [ci skip]
......@@ -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'
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册