diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-23 20:58:25 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-23 20:58:25 -0300 |
commit | 0034b7822d6132f5945b0514a5391d18e52aa4b6 (patch) | |
tree | 0cddb5ca4ad500326dd08a41803dd862e298c880 /activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | |
parent | 2a4b780ab1b97b939524f3240b6886c2b77979d2 (diff) | |
download | rails-0034b7822d6132f5945b0514a5391d18e52aa4b6.tar.gz rails-0034b7822d6132f5945b0514a5391d18e52aa4b6.tar.bz2 rails-0034b7822d6132f5945b0514a5391d18e52aa4b6.zip |
Remove extra white spaces on ActiveRecord docs.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/mysql_adapter.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb index a9f4c08348..a7ad85e477 100644 --- a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb @@ -407,7 +407,7 @@ module ActiveRecord def exec_without_stmt(sql, name = 'SQL') # :nodoc: # Some queries, like SHOW CREATE TABLE don't work through the prepared - # statement API. For those queries, we need to use this method. :'( + # statement API. For those queries, we need to use this method. :'( log(sql, name) do result = @connection.query(sql) cols = [] @@ -833,7 +833,7 @@ module ActiveRecord stmt.execute(*binds.map { |col, val| type_cast(val, col) }) rescue Mysql::Error => e # Older versions of MySQL leave the prepared statement in a bad - # place when an error occurs. To support older mysql versions, we + # place when an error occurs. To support older mysql versions, we # need to close the statement and delete the statement from the # cache. stmt.close |