aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-01-01 15:17:00 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-01-01 15:19:23 -0200
commit0a3d1ff87e1c5f05041c58ff97ad19bb9e9cd32c (patch)
tree409627918cbc6d71aca43034a94a2628d83f7ae1 /activerecord
parentd6a968e750f508cc41dcd49d3b94f5edbc2d510c (diff)
downloadrails-0a3d1ff87e1c5f05041c58ff97ad19bb9e9cd32c.tar.gz
rails-0a3d1ff87e1c5f05041c58ff97ad19bb9e9cd32c.tar.bz2
rails-0a3d1ff87e1c5f05041c58ff97ad19bb9e9cd32c.zip
quoted_id is not public API.
It was made public by mistake in https://github.com/rails/rails/commit/539b69e0.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/sanitization.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/sanitization.rb b/activerecord/lib/active_record/sanitization.rb
index 4e89ba4dd1..2bfc5ff7ae 100644
--- a/activerecord/lib/active_record/sanitization.rb
+++ b/activerecord/lib/active_record/sanitization.rb
@@ -213,7 +213,7 @@ module ActiveRecord
end
# TODO: Deprecate this
- def quoted_id
+ def quoted_id # :nodoc:
self.class.quote_value(@attributes[self.class.primary_key].value_for_database)
end
end