From f51f12d81926ffe3845b6df9a51107edf4c997fe Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 3 Jul 2005 08:32:22 +0000 Subject: r1610@asus: jeremy | 2005-07-03 00:19:06 -0700 remove Column#primary for now git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1628 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activerecord/lib/active_record/connection_adapters') diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 82168c54ad..2bb68d1810 100755 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -147,7 +147,6 @@ module ActiveRecord module ConnectionAdapters # :nodoc: class Column # :nodoc: attr_reader :name, :default, :type, :limit - attr_accessor :primary # The name should contain the name of the column, such as "name" in "name varchar(250)" # The default should contain the type-casted default of the column, such as 1 in "count int(11) DEFAULT 1" # The type parameter should either contain :integer, :float, :datetime, :date, :text, or :string @@ -155,7 +154,6 @@ module ActiveRecord def initialize(name, default, sql_type = nil) @name, @default, @type = name, type_cast(default), simplified_type(sql_type) @limit = extract_limit(sql_type) unless sql_type.nil? - @primary = nil end def klass -- cgit v1.2.3