I'm a Rails beginner and reading RailsGuides.
In RailsGuides, it says:
Action View and Action Controller are the two major components of Action Pack.
- RailsGuides Action View Overview
and in Action Pack section of Rails on GitHub, it says, Action Pack consists of Action Dispatch and Action Controller components.
My questions is, what are the Action Pack components in fact?
ActionPack is a bundled with ActionController and ActionView. While processing any request, behind the scene both action view and action controller play a big role in processing the request. However, the ActiveRecord and ActionPack both are a different set of components. As @Leandro mentioned both the view and controller layer put together as a one single component as ActionPack.
ActionPack = ActionController + ActionView
Hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With