-
Notifications
You must be signed in to change notification settings - Fork 0
Ruby On Rails
Yuqi Wu edited this page Aug 27, 2016
·
4 revisions
- & -- means alias.
- << -- means insert some content here.
-
- -- means reference a node by its alias.
defaults: &def # alias def
...
test:
<<: *def # insert the default (by its alias) node content here.
rails s -e production / test / development -p 3000
An Object/Relational Mapping (ORM) layer supplied with Rails. It closely follows the standard ORM model, which is as follows −
- tables map to classes
- rows map to objects and
- columns map to object attributes