-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This page contains the major documentation of Matrack gem version 0.1.0. More details can be found on the following sub-pages.
To create a matrack application run:
matrack new your_app_name
This generates certain directories and files that are essential to the creation of your new app such as:
-
assets: This contains all asset folders. More information can be found in asset documentation.
-
controllers: This will contain all controllers. It has a default application contoller from which all contollers inherit. This file may not be renamed.
-
helpers: This will contain all helpers.
-
models: This will contain all models.
-
views: This will contain all views in folder that have the same name as their respective controllers.
Also contains a layout folder that contains two files, viz:
- application.html.erb - The base layout for all views.
- invalid.html.erb - It is displayed when a user visits a non-existing route.
NB: The content of the body tag of these two files may be edited but the files may not be deleted. More information can be found in generators documentation.