This project is archived and is in readonly mode.
helper :all from ActionMailer
-
ifesdjeen
:all is handled by overwritten helper (actionpack/lib/action_controller/metal/helpers.rb), which overwrites modules_for_helpers to
def modules_for_helpers(args) args += all_application_helpers if args.delete(:all) super(args) endWhat most likely happened, that method doesn't get loaded.
If someone from Rails team could explain a bit of background behind that situation, I could provide a patch.
ThanksEdited by Rohit Arondekar for formatting.
-
ifesdjeen
For some reason my code got all messy, please see it in that gist: https://gist.github.com/877432
-
Neeraj Singh
- State changed from new to open
- Assigned user set to José Valim
- Importance changed from to Low
Fix is here. Please see last two commits.