From /home/chedong/.local/share/rdoc
| Use Case | Command | Description |
|---|---|---|
| 📦 Include a helper module | helper :helper_name |
Allows all views to use methods from the named helper module. |
| 🎯 Expose a controller method as a helper | helper_method :method_name |
Makes the controller method available to views. |
| 🔄 Clear all registered helpers | clear_helpers |
Removes all helper modules from the view context. |
| 🔍 Access the helpers module | _helpers |
Returns the module containing all helper methods. |
| ✏️ Modify the helpers module | _helpers_for_modification |
Returns the helpers module for modification. |
| 🧬 Inherit helpers from parent class | inherited |
Called when a subclass is created; copies helper configuration. |
| 🛠 Register helpers from a module | modules_for_helpers |
Returns modules for given helper names. |
_helpers_helpers_for_modificationclear_helpershelperhelper_methodinheritedmodules_for_helpers_helpers (attr_writer)Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 05:27 @216.73.217.46
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format