rails/rails — pull request #5561 by carlosantoniodasilva (2012-03-23 12:13:39+00:00)
Title: Properly deprecate the block argument in AV FormBuilder

Commit 56089ca986c767763f29159c8de0aa1ebabfd4d2 introduced a backward
incompatible change by changing the method signature of the FormBuilder. This
brings back the same method signature warning in case someone gives a block
to the builder.

More info:
https://github.com/rails/rails/commit/56089ca986c767763f29159c8de0aa1ebabfd4d2#commitcomment-1116166

/cc @tenderlove