2. Ruby & RoR
What is Ruby?
What is Ruby on Rails?
What is Rake?
https://martinfowler.com/articles/rake.html
Installation?
https://gorails.com/setup/
3. How Rails Interacting With Database?
Scaffolding
Being able to quickly generate code to view, delete and update resources. Essentially a code-
generator for entities.
Migrations
Ruby code that lets you modify the database. You can create migrations and apply them to
the database, which takes the database to a different state. You can then roll back
migrations, allowing them to return to a previous state.
Active Record
Interaction with the database data. CRUD
6. Active Record (Design Pattern)
An object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that
data.
https://www.martinfowler.com/eaaCatalog/activeRecord.html
An object carries both data and behavior. Much of this data is persistent and needs to be stored in a database. Active
Record uses the most obvious approach, putting data access logic in the domain object. This way all people know how to
read and write their data to and from the database.