rails/rails — pull request #4382 by kennyj (2012-01-07 17:41:27+00:00)
Title: Fix GH #3931. A text type column with limit is returned incorrect data type on mysql.

This PR fixed GH #3931.

If you execute the following migration, foo column become *mediumtext*, and bar column become *longtext*.

```
t.column :foo, :limit => 0x555555 (5592405)
t.column :bar, :limit => 0x555556 (5592406)
```

But mediumtext's limit is 0xffffff (16777215).

Please see https://github.com/rails/rails/issues/3931.