rails/rails — pull request #8281 by pwnall (2012-11-20 16:37:37+00:00)
Title: Postgresql doesn't accept limits on text columns.

This is the diff in #8276, applied to 3-2-stable.