diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-19 22:49:56 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-19 22:49:56 +0000 |
commit | 2f26785425a8c96ffa7cb04cdf5c54eb0f247da2 (patch) | |
tree | dc3804304bf039955989bd86d98990b40b6b9be9 /activerecord/lib | |
parent | c489b87d9d8e584541bc5b8f19c795eaff71a07d (diff) | |
download | rails-2f26785425a8c96ffa7cb04cdf5c54eb0f247da2.tar.gz rails-2f26785425a8c96ffa7cb04cdf5c54eb0f247da2.tar.bz2 rails-2f26785425a8c96ffa7cb04cdf5c54eb0f247da2.zip |
Scrap that
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index ff0d42f39e..0f07af2d09 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -529,7 +529,6 @@ module ActiveRecord #:nodoc: # is available. def column_methods_hash @dynamic_methods_hash ||= columns_hash.keys.inject(Hash.new(false)) do |methods, attr| - next if attr == primary_key methods[attr.to_sym] = true methods["#{attr}=".to_sym] = true methods["#{attr}?".to_sym] = true |