diff options
author | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2013-12-16 00:44:37 +0530 |
---|---|---|
committer | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2013-12-16 00:44:37 +0530 |
commit | c758093eca303704f52b45fd0660e13600b9b315 (patch) | |
tree | 09f992d391376c6821abd7e930c7aabb6007143c /activerecord/lib | |
parent | 5fccd77b6c71e26fcbf879657c1f532999171900 (diff) | |
download | rails-c758093eca303704f52b45fd0660e13600b9b315.tar.gz rails-c758093eca303704f52b45fd0660e13600b9b315.tar.bz2 rails-c758093eca303704f52b45fd0660e13600b9b315.zip |
Spelling and Grammar check [ci skip]
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/relation/query_methods.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index cacc787eba..4f4961d273 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -427,7 +427,7 @@ module ActiveRecord # === string # # A single string, without additional arguments, is passed to the query - # constructor as a SQL fragment, and used in the where clause of the query. + # constructor as an SQL fragment, and used in the where clause of the query. # # Client.where("orders_count = '2'") # # SELECT * from clients where orders_count = '2'; @@ -656,7 +656,7 @@ module ActiveRecord # when 'Reviewer' # Post.published # when 'Bad User' - # Post.none # => returning [] instead breaks the previous code + # Post.none # It can't be chained if [] is returned. # end # end # |