diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-01-29 02:16:31 -0500 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-01-29 02:16:31 -0500 |
commit | 43df26711856bc4b90780a185078fc84fa597564 (patch) | |
tree | ed9fa040f5c720fefff8ad886a0136eea898f893 | |
parent | 40d402d8f76861a5b21738d4c9eeef036fe4eae1 (diff) | |
parent | 9c97bf5510d390bf2aa9a862ce86884b347e4c40 (diff) | |
download | rails-43df26711856bc4b90780a185078fc84fa597564.tar.gz rails-43df26711856bc4b90780a185078fc84fa597564.tar.bz2 rails-43df26711856bc4b90780a185078fc84fa597564.zip |
Merge pull request #23252 from kamipo/remove_limit_11
Remove `limit: 11` as backward-compatibility with Rails 2.0
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb | 1 |
1 files changed, 0 insertions, 1 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 3e84786be0..5a9020ead5 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb @@ -980,7 +980,6 @@ module ActiveRecord when 3; 'mediumint' when nil, 4; 'int' when 5..8; 'bigint' - when 11; 'int(11)' # backward compatibility with Rails 2.0 else raise(ActiveRecordError, "No integer type has byte size #{limit}") end end |