Rails is a full-stack framework. It ships with all the tools needed to build amazing web apps on both the front and back end. It providing solid security protections for common attacks. Understanding these thoughts will help you understand the design of the framework.