mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
No longer need to undef id as we are defining it ourselves
This commit is contained in:
@@ -8,9 +8,6 @@ module ActiveRecord
|
||||
included do
|
||||
cattr_accessor :attribute_types_cached_by_default, :instance_writer => false
|
||||
self.attribute_types_cached_by_default = ATTRIBUTE_TYPES_CACHED_BY_DEFAULT
|
||||
|
||||
# Undefine id so it can be used as an attribute name
|
||||
undef_method(:id) if method_defined?(:id)
|
||||
end
|
||||
|
||||
module ClassMethods
|
||||
|
||||
Reference in New Issue
Block a user