This project is archived and is in readonly mode.
ActionView::Base.default_form_builder
-
Jacek Becela
+1 for moving cattr_accessor :default_form_builder - it's kind of public api, so it should be moved and documented. Initializing it should stay IMO in form_helper.rb.
-
Pratik
- Assigned user set to Pratik
- State changed from new to incomplete
Sounds good. Patch please! Also, the old API needs to be deprecated.
Thanks.
-
beawesomeinstead
Something like this?
-
Prem Sichanugrist (sikachu)
- Tag changed from actionpack, edge, form, form_helper to actionpack, edge, form, form_helper, review
-
José Valim
We need some deprecation warning on this.
-
José Valim
Is someone working on a new patch with deprecation warnings on this? :)
-
Prem Sichanugrist (sikachu)
I'm bugging
beawesomeinsteadin the chat room now. he's going to upload it here soon -
beawesomeinstead
Oops, sorry for the delay, we've had a new release last week. Patch attached.
-
José Valim
- State changed from incomplete to wontfix
I had some issues applying the patch and running an application, it made the FormBuilder constant be loaded too early. The bottom of form_helper.rb is indeed the proper place for it. Sorry mate for making you fix the patch twice.
-
beawesomeinstead
np :-) wontfix is better than open :-)
