ri > ActionDispatch::Callbacks

📦 ActionDispatch::Callbacks < Object

(from /home/chedong/.local/share/rdoc)


🚀 Quick Reference

Use Case Command Description
🔧 Define a before callback before :method_name Register a method to run before every request dispatch
🔧 Define an after callback after :method_name Register a method to run after every request dispatch
🔧 Define a block callback before { |controller| ... } Pass a block to execute before/after dispatch
🛠️ Create a new callback middleware new(controller, callbacks) Instantiate the middleware with a controller and callbacks
🛠️ Invoke the call chain call(env) Execute the callbacks and dispatch the request

📚 Includes:

Provides callbacks to be executed before and after dispatching the request.


🔧 Class methods:


🛠️ Instance methods:

ActionDispatch::Callbacks
📦 ActionDispatch::Callbacks < Object 🚀 Quick Reference 📚 Includes: 🔧 Class methods: 🛠️ Instance methods:

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 16:40 @216.73.216.194
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format