aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/query_methods.rb
diff options
context:
space:
mode:
authorSamantha John <sam@gethopscotch.com>2019-03-06 16:35:52 -0500
committerSamantha John <sam@gethopscotch.com>2019-03-06 16:35:52 -0500
commit755112c7b15ad5a8a8621ac307a55b6bbf487c7b (patch)
tree0066a1b2862ccc596f8bf256582a12e6c0da0f85 /activerecord/lib/active_record/relation/query_methods.rb
parent134eaca7e2f32651eb5bbbcbea8fb990bff22b08 (diff)
downloadrails-755112c7b15ad5a8a8621ac307a55b6bbf487c7b.tar.gz
rails-755112c7b15ad5a8a8621ac307a55b6bbf487c7b.tar.bz2
rails-755112c7b15ad5a8a8621ac307a55b6bbf487c7b.zip
Replace “can not” with “cannot”.
Diffstat (limited to 'activerecord/lib/active_record/relation/query_methods.rb')
-rw-r--r--activerecord/lib/active_record/relation/query_methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index 24a50db619..9425332321 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -1117,7 +1117,7 @@ module ActiveRecord
o.reverse
when String
if does_not_support_reverse?(o)
- raise IrreversibleOrderError, "Order #{o.inspect} can not be reversed automatically"
+ raise IrreversibleOrderError, "Order #{o.inspect} cannot be reversed automatically"
end
o.split(",").map! do |s|
s.strip!