Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is ActionDispatch?

I have a fairly decent grasp on the basic Rails concepts like ActiveRecord, routing, migrations, etc. One thing I'm having a hard time understanding is ActionDispatch. I can't find a plain-English description (or really any description) of what it is. So what is it?

like image 487
Jason Swett Avatar asked May 29 '13 19:05

Jason Swett


1 Answers

In one, short sentence: Action Dispatch routes requests to controllers. For the more detailed explanation, I would recommend reading "Action Dispatcher and Action Controller in Rails 4".


Action Dispatch & Action Controller

like image 194
ogirginc Avatar answered Sep 28 '22 02:09

ogirginc