diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-07-04 18:14:48 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-07-04 18:14:48 -0700 |
commit | cb0dacf9b2ba0ba092b23f4c40b78a331890486b (patch) | |
tree | b8ddf244130b56896b96a32508886a21b562b89c /guides | |
parent | f3f46a6f4ac2a1fd2dd6fa9af245641f32c9bc59 (diff) | |
parent | e0b3920873adeeb9c3c15609d96ce89a23ce34f1 (diff) | |
download | rails-cb0dacf9b2ba0ba092b23f4c40b78a331890486b.tar.gz rails-cb0dacf9b2ba0ba092b23f4c40b78a331890486b.tar.bz2 rails-cb0dacf9b2ba0ba092b23f4c40b78a331890486b.zip |
Merge pull request #11309 from crakalakin/AR-querying-guide
removes markdown code markers from displaying in the active record querying guide [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index 407e779f9f..031a203f08 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -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' ``` |