You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yowhattup? My ApplicationController sets a default FormBuilder that is customized to my liking. This includes changing the arity of FormBuilder#label, which is probably a bad idea but here we are. Since Blazer::BaseController inherits from ApplicationController I hit an ArgumentError when on the New or Edit query page.
My workaround is to reopen Blazer::BaseController and set the default form builder ActionView::Helpers::FormBuilder. I don't feel good about that. I would prefer to have a Blazer configuration that allows me to set an alternate parent for Blazer::BaseControIller.
Thoughts? If you're into it I'll submit a PR some time.
The text was updated successfully, but these errors were encountered:
Hi @dhnaranjo, thanks for the suggestion. This isn't something I'd like to make configurable right now, but pushed a fix for the specific issue with default_form_builder in the commit above.
Yowhattup? My ApplicationController sets a default FormBuilder that is customized to my liking. This includes changing the arity of FormBuilder#label, which is probably a bad idea but here we are. Since Blazer::BaseController inherits from ApplicationController I hit an ArgumentError when on the New or Edit query page.
My workaround is to reopen Blazer::BaseController and set the default form builder ActionView::Helpers::FormBuilder. I don't feel good about that. I would prefer to have a Blazer configuration that allows me to set an alternate parent for Blazer::BaseControIller.
Thoughts? If you're into it I'll submit a PR some time.
The text was updated successfully, but these errors were encountered: