1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #23252 from kamipo/remove_limit_11

Remove `limit: 11` as backward-compatibility with Rails 2.0
This commit is contained in:
Rafael França 2016-01-29 02:16:31 -05:00
commit 43df267118

View file

@ -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