Skip to content

Commit

Permalink
Isolate core_ext/string.
Browse files Browse the repository at this point in the history
  • Loading branch information
gix committed Mar 6, 2011
1 parent 7c8956f commit d172bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dm-do-adapter/adapter.rb
Expand Up @@ -392,7 +392,7 @@ def insert_statement(model, properties, serial)
if supports_default_values? && properties.empty?
statement << default_values_clause
else
statement << <<-SQL.compress_lines
statement << DataMapper::Ext::String.compress_lines(<<-SQL)
(#{properties.map { |property| quote_name(property.field) }.join(', ')})
VALUES
(#{(['?'] * properties.size).join(', ')})
Expand Down

0 comments on commit d172bbd

Please sign in to comment.