:limit => 10 fails with PostgreSQL and Rails 4 / Ruby 2

"No integer type has byte size 10. Use a numeric with precision 0
instead."