The controller-layer in any MVC architecture performs a pivotal role, leveraging the domain logic captured by your models and using this to build the views returned to the application user. Controllers in a Rails app offer a wealth of functionality and conveniences to help you complete this job. But how well do you know Rails controllers and the
ActionController
API. Try the quiz below to find out?
Introduction
In our last blog post we discussed some questionable practices to avoid when building the controller layer in your Rails MVC application. In that post we only scratched the surface of what is possible within the Rails controller layer.
In this post we offer a short, 10-question, quiz to test how well you know the Rails ActionController
API. Give it a go and see how well you perform.
References
- Rails Action Controller docs
- Official
ActionController::Base
API docs
Comments
There are no existing comments
Got your own view or feedback? Share it with us below …