lib/rails/generators/active_groonga/migration/migration_generator.rb in activegroonga-1.0.0 vs lib/rails/generators/active_groonga/migration/migration_generator.rb in activegroonga-1.0.1
- old
+ new
@@ -41,10 +41,10 @@
end
end
private
def parse_columns! #:nodoc:
- self.columns = (columns || []).map do |key_value|
+ self.columns = (columns || []).collect do |key_value|
name, type, *options = key_value.split(':')
Column.new(name, type, options)
end
end
end