aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods/primary_key.rb
diff options
context:
space:
mode:
authorSergey Nartimov <just.lest@gmail.com>2011-12-21 22:00:55 +0300
committerSergey Nartimov <just.lest@gmail.com>2011-12-21 22:00:55 +0300
commit9add7608f1acaa68b025470e7a38901d7e6161ca (patch)
tree19436d8de294aeb909edee6909f321f4a68d398e /activerecord/lib/active_record/attribute_methods/primary_key.rb
parentabdb10502294dfb7bd76590f18e6517f9713a9b1 (diff)
downloadrails-9add7608f1acaa68b025470e7a38901d7e6161ca.tar.gz
rails-9add7608f1acaa68b025470e7a38901d7e6161ca.tar.bz2
rails-9add7608f1acaa68b025470e7a38901d7e6161ca.zip
remove deprecated set and original methods for table_name, primary_key, etc
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods/primary_key.rb')
-rw-r--r--activerecord/lib/active_record/attribute_methods/primary_key.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/primary_key.rb b/activerecord/lib/active_record/attribute_methods/primary_key.rb
index 5d37088d98..a7785f8786 100644
--- a/activerecord/lib/active_record/attribute_methods/primary_key.rb
+++ b/activerecord/lib/active_record/attribute_methods/primary_key.rb
@@ -80,10 +80,6 @@ module ActiveRecord
end
end
- def original_primary_key #:nodoc:
- deprecated_original_property_getter :primary_key
- end
-
# Sets the name of the primary key column.
#
# class Project < ActiveRecord::Base
@@ -103,11 +99,6 @@ module ActiveRecord
@primary_key = value && value.to_s
@quoted_primary_key = nil
end
-
- def set_primary_key(value = nil, &block) #:nodoc:
- deprecated_property_setter :primary_key, value, block
- @quoted_primary_key = nil
- end
end
end
end