aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorGaurav Sharma <gaurav2728@gmail.com>2015-03-22 09:34:01 +0530
committerGaurav Sharma <gaurav2728@gmail.com>2015-03-23 11:18:14 +0530
commit29efc6ee05d00a55e6f901223c4db55ea66b9992 (patch)
tree2726251be03b4ed1ca1e5c0aceaa43d1b84b1296 /activerecord/lib
parent5d6500535c5bdb7691e3aead7615e4906f7128c0 (diff)
downloadrails-29efc6ee05d00a55e6f901223c4db55ea66b9992.tar.gz
rails-29efc6ee05d00a55e6f901223c4db55ea66b9992.tar.bz2
rails-29efc6ee05d00a55e6f901223c4db55ea66b9992.zip
remove old unavailable link with relevant fix
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
index b4e29a608a..79a73670c1 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
@@ -905,8 +905,7 @@ module ActiveRecord
def configure_connection
variables = @config.fetch(:variables, {}).stringify_keys
- # By default, MySQL 'where id is null' selects the last inserted id.
- # Turn this off. http://dev.rubyonrails.org/ticket/6778
+ # By default, MySQL 'where id is null' selects the last inserted id; Turn this off.
variables['sql_auto_is_null'] = 0
# Increase timeout so the server doesn't disconnect us.