Permalink
Browse files

Scrap that

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent c489b87 commit 2f26785425a8c96ffa7cb04cdf5c54eb0f247da2 @dhh dhh committed Dec 19, 2004
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/base.rb
@@ -529,7 +529,6 @@ def content_columns
# 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

0 comments on commit 2f26785

Please sign in to comment.