diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-18 08:55:30 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-18 10:22:03 -0200 |
commit | 56089ca986c767763f29159c8de0aa1ebabfd4d2 (patch) | |
tree | afcea401de9fe1e6d5d8e966ed9776e9d9edaf94 /actionpack/lib/action_view/helpers/output_safety_helper.rb | |
parent | d4a9ce8ec06f72215c9ee3d9c4d0156fdad6e571 (diff) | |
download | rails-56089ca986c767763f29159c8de0aa1ebabfd4d2.tar.gz rails-56089ca986c767763f29159c8de0aa1ebabfd4d2.tar.bz2 rails-56089ca986c767763f29159c8de0aa1ebabfd4d2.zip |
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.
Diffstat (limited to 'actionpack/lib/action_view/helpers/output_safety_helper.rb')
0 files changed, 0 insertions, 0 deletions