Skip to content

Commit

Permalink
Merge commit 'mainstream/master'
Browse files Browse the repository at this point in the history
Conflicts:

	activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb
	activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
  • Loading branch information
lifo committed Dec 19, 2008
2 parents 2d78ee0 + c3f53f4 commit 19939fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def connection_pool
def retrieve_connection
connection_handler.retrieve_connection(self)
end

# Returns true if +ActiveRecord+ is connected.
def connected?
connection_handler.connected?(self)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ def initialize(name, default, sql_type = nil, null = true)

@primary = nil
end

# Returns +true+ if the column is either of type string or text.
def text?
type == :string || type == :text
end

# Returns +true+ if the column is either of type integer, float or decimal.
def number?
type == :integer || type == :float || type == :decimal
Expand Down Expand Up @@ -297,7 +297,7 @@ def add_column_options!(sql, options)
# puts t.class # => "ActiveRecord::ConnectionAdapters::TableDefinition"
# end
# end
#
#
# def self.down
# ...
# end
Expand Down

0 comments on commit 19939fd

Please sign in to comment.