aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-12-29 14:14:46 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-12-29 14:14:46 -0300
commit0906e8322b81c429fddeb89ab08c279719bf29b0 (patch)
tree00dbcc2b01cc7896c6124b4f3a115814f0cc028a
parent54ec0cbf8276c63215fcb4507581003bbcd1a48d (diff)
downloadrails-0906e8322b81c429fddeb89ab08c279719bf29b0.tar.gz
rails-0906e8322b81c429fddeb89ab08c279719bf29b0.tar.bz2
rails-0906e8322b81c429fddeb89ab08c279719bf29b0.zip
Add nodoc to touch at no_touching.rb
It is already docummented at persistence.rb. [ci skip]
-rw-r--r--activerecord/lib/active_record/no_touching.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/no_touching.rb b/activerecord/lib/active_record/no_touching.rb
index dbf4564ae5..edb5066fa0 100644
--- a/activerecord/lib/active_record/no_touching.rb
+++ b/activerecord/lib/active_record/no_touching.rb
@@ -45,7 +45,7 @@ module ActiveRecord
NoTouching.applied_to?(self.class)
end
- def touch(*)
+ def touch(*) # :nodoc:
super unless no_touching?
end
end