aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-02-20 20:35:44 +0100
committerXavier Noria <fxn@hashref.com>2013-02-20 20:37:00 +0100
commit3ff639a3dd9bbe3ae2d68201368a94bd102ed8cf (patch)
tree3cd4e362589b9bb068c144ccde26284a6adfc7cd /activerecord/lib/active_record/relation
parent36113d0b79b2b827610aa8ed108b07bd88936ae5 (diff)
downloadrails-3ff639a3dd9bbe3ae2d68201368a94bd102ed8cf.tar.gz
rails-3ff639a3dd9bbe3ae2d68201368a94bd102ed8cf.tar.bz2
rails-3ff639a3dd9bbe3ae2d68201368a94bd102ed8cf.zip
removes some remaining relation bang methods documentation [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/relation')
-rw-r--r--activerecord/lib/active_record/relation/query_methods.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index 011839c05d..d9ed22b948 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -469,8 +469,6 @@ module ActiveRecord
end
end
- # #where! is identical to #where, except that instead of returning a new relation, it adds
- # the condition to the existing relation.
def where!(opts = :chain, *rest) # :nodoc:
if opts == :chain
WhereChain.new(self)
@@ -636,7 +634,6 @@ module ActiveRecord
spawn.from!(value, subquery_name)
end
- # Like #from, but modifies relation in place.
def from!(value, subquery_name = nil) # :nodoc:
self.from_value = [value, subquery_name]
self