aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_querying.md
diff options
context:
space:
mode:
authorSunny Ripert <sunny@sunfox.org>2013-05-28 14:36:18 +0200
committerSunny Ripert <sunny@sunfox.org>2013-05-28 14:38:02 +0200
commit70b302b189dbe9f90e3b081fa540c909a43ba8d0 (patch)
treeb76527e12288ea06fc87695ebd9a7e8d45aff342 /guides/source/active_record_querying.md
parent606c09b8dbaa65ab124baaa0ee62a885a25a2222 (diff)
downloadrails-70b302b189dbe9f90e3b081fa540c909a43ba8d0.tar.gz
rails-70b302b189dbe9f90e3b081fa540c909a43ba8d0.tar.bz2
rails-70b302b189dbe9f90e3b081fa540c909a43ba8d0.zip
Remove double spaces in code examples
Diffstat (limited to 'guides/source/active_record_querying.md')
-rw-r--r--guides/source/active_record_querying.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md
index 5e1fdc78a5..69070eea21 100644
--- a/guides/source/active_record_querying.md
+++ b/guides/source/active_record_querying.md
@@ -1229,7 +1229,7 @@ One important caveat is that `default_scope` will be overridden by
```ruby
class User < ActiveRecord::Base
- default_scope { where state: 'pending' }
+ default_scope { where state: 'pending' }
scope :active, -> { where state: 'active' }
scope :inactive, -> { where state: 'inactive' }
end