From 31144d99811aaf2ad12065c81cb463ea12670fdb Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 4 May 2008 23:32:13 +0200 Subject: revised some conventions in mysql_adapter.rb --- .../connection_adapters/mysql_adapter.rb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb index e742d60c5f..b62182bf00 100755 --- a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb @@ -146,19 +146,19 @@ module ActiveRecord # # Options: # - # * :host -- Defaults to localhost - # * :port -- Defaults to 3306 - # * :socket -- Defaults to /tmp/mysql.sock - # * :username -- Defaults to root - # * :password -- Defaults to nothing - # * :database -- The name of the database. No default, must be provided. - # * :encoding -- (Optional) Sets the client encoding by executing "SET NAMES " after connection - # * :sslkey -- Necessary to use MySQL with an SSL connection - # * :sslcert -- Necessary to use MySQL with an SSL connection - # * :sslcapath -- Necessary to use MySQL with an SSL connection - # * :sslcipher -- Necessary to use MySQL with an SSL connection + # * :host - Defaults to "localhost". + # * :port - Defaults to "3306". + # * :socket - Defaults to "/tmp/mysql.sock". + # * :username - Defaults to "root" + # * :password - Defaults to nothing. + # * :database - The name of the database. No default, must be provided. + # * :encoding - (Optional) Sets the client encoding by executing "SET NAMES " after connection. + # * :sslkey - Necessary to use MySQL with an SSL connection. + # * :sslcert - Necessary to use MySQL with an SSL connection. + # * :sslcapath - Necessary to use MySQL with an SSL connection. + # * :sslcipher - Necessary to use MySQL with an SSL connection. # - # By default, the MysqlAdapter will consider all columns of type tinyint(1) + # By default, the MysqlAdapter will consider all columns of type tinyint(1) # as boolean. If you wish to disable this emulation (which was the default # behavior in versions 0.13.1 and earlier) you can add the following line # to your environment.rb file: -- cgit v1.2.3