rails/rails — pull request #3600 by vijaydev (2011-11-10 17:31:45+00:00)
Title: Checking the arity of the block passed to create_table

A recent change made to create_table does away with the need for the block argument. Checking the arity will prevent the mixing up of the two syntaxes.

This is in line with https://github.com/rails/rails/pull/1163#issuecomment-2633129