Skip to content
Browse files

fix comments

  • Loading branch information...
1 parent c81bb97 commit 965f6f22aaee3b669d185b2ea2e125abaf458a63 @vijaydev vijaydev committed Dec 9, 2011
View
6 activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
@@ -247,8 +247,7 @@ def column(name, type, options = {})
def #{column_type}(*args) # def string(*args)
options = args.extract_options! # options = args.extract_options!
column_names = args # column_names = args
- type = :'#{column_type}'
- #
+ type = :'#{column_type}' # type = :string
column_names.each { |name| column(name, type, options) } # column_names.each { |name| column(name, type, options) }
end # end
EOV
@@ -465,8 +464,7 @@ def remove_references(*args)
def #{column_type}(*args) # def string(*args)
options = args.extract_options! # options = args.extract_options!
column_names = args # column_names = args
- type = :'#{column_type}'
- #
+ type = :'#{column_type}' # type = :string
column_names.each do |name| # column_names.each do |name|
column = ColumnDefinition.new(@base, name.to_s, type) # column = ColumnDefinition.new(@base, name, type)
if options[:limit] # if options[:limit]

0 comments on commit 965f6f2

Please sign in to comment.
Something went wrong with that request. Please try again.