As most of our participants are not familiar with Ruby, we have created
some exercises to learn and practice Ruby syntax - covering conditional
statements (if
, else
, elsif
), different ways of iteration (each
,
select
and map
) and basic object oriented code (defining and using
class and instance functions).
The first session is all about getting started with Rails.
We talk about MVC Architecture and different components that make a Rails application.
In the assignment, we will learn how to install Ruby and Rails, create a new Rails project and build a simple "About Me" webiste with two pages.
In the second session, we take a closer look at Model of the MVC Architecture and talk about databases, migrations and working with records.
In the third session, we take a closer look at Controller of the MVC Architecture and talk about controllers, routing, authentication and authorization. In the assignment, we will build a simple blogging website.