Railties

Back to Web-Dev

Railties is responsible for gluing all frameworks together. Handles bootstrapping of application and provides rails command line interface.

Design

Railties is abstract, cannot be instantiated and is meant to be inherited.

Class Based Design

Command Line Basics

rails console, rails server, rails generate, rails new

rails dbconsole opens the respective database console

rails runner "Model.method runs ruby code in the context of Rails.