rails/rails — pull request #12915 by robin850 (2013-11-16 13:10:35+00:00)
Title: Make fixtures generate IDs according to their limit

Hello,

If the primary key field's limit was defined at the schema definition level, previously fixtures would generate a random ID which limit would be 2^30 and not the specified one.

Fixes #12901

Have a nice day.