rails/rails — pull request #4517 by carlosantoniodasilva (2012-01-18 12:23:43+00:00)
Title: Refactor FormBuilder arguments and default config

* Do not reopen AV::Base to define default form builder
Inside the load hook we are already in AV::Base context.

* Do not pass the given block to the form builder
The block is evaluated in fields_for context using capture, with the
builder as argument. This means we do not need to give the block to the
FormBuilder itself.

Thanks.