Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 6678

Show
Ignore:
Timestamp:
05/06/07 04:41:45 (2 years ago)
Author:
marcel
Message:

Add documentation for :encoding option to mysql adapter. Closes #8219 [marclove]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/CHANGELOG

    r6667 r6678  
    11*SVN* 
     2 
     3* Add documentation for :encoding option to mysql adapter. [marclove] 
    24 
    35* Added short-hand declaration style to migrations (inspiration from Sexy Migrations, http://errtheblog.com/post/2381) [DHH]. Example: 
  • trunk/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb

    r6074 r6678  
    130130    # * <tt>:password</tt> -- Defaults to nothing 
    131131    # * <tt>:database</tt> -- The name of the database. No default, must be provided. 
     132    # * <tt>:encoding</tt> -- (Optional) Sets the client encoding by executing "SET NAMES <encoding>" after connection 
    132133    # * <tt>:sslkey</tt> -- Necessary to use MySQL with an SSL connection 
    133134    # * <tt>:sslcert</tt> -- Necessary to use MySQL with an SSL connection