diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-07-03 08:32:22 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-07-03 08:32:22 +0000 |
commit | f51f12d81926ffe3845b6df9a51107edf4c997fe (patch) | |
tree | 87fac2de96194197743cd7aeea95a56b52487fec /activerecord/lib | |
parent | af9d03824a3db7d637532ce926a4e2d720602442 (diff) | |
download | rails-f51f12d81926ffe3845b6df9a51107edf4c997fe.tar.gz rails-f51f12d81926ffe3845b6df9a51107edf4c997fe.tar.bz2 rails-f51f12d81926ffe3845b6df9a51107edf4c997fe.zip |
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
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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 |