RoR

RoR

Basic

A server-side web application framework written in Ruby, Ruby on Rails (RoR) is a framework, primarily helping developers build websites and applications, abstracting and simplifying repetitive tasks.

This competency area includes understanding the RoR Model/View/Controller (MVC) framework, understanding the Rails Directory Structure, working with rake tasks, migrations, records, and rail routes.  

Key Competencies:

  1. Getting Started - Ruby & Rails local install, building a very simple rails app using scaffolding. 

  2. Understand the Rails Directory Structure - Gaining know-how on what goes where, app, lib, models, view, controller, DB, migrations, Gemfile, etc. Also, understanding the MVC pattern with respect to the directory structure. Explore and understand CRUD.

  3. Rake Tasks & Migrations - Write simple rake tasks to perform simple operations, write rails migrations to create and change database tables. 

  4. Active Record - Exploring operations for inserting, deleting, and viewing DB tables, and being able to build simple active record associations (belongs_to, has_one, has_many). Additional exploration of simple model validations and callbacks. 

  5. Rails Routes - Learning about resources, CRUD verbs, and actions. 

  6. Views and Partials - Writing simple view files (html.erb), and being able to refactor into partials. 

  7. Working with JSON, XML, and, .CSV - Gaining know-how on working with different kinds of data, importing, and exporting to .CSV, JSON, and XML.

  8. Collections & Enumerations - Working with Arrays, hashes, and strings, along with basic operations like select, detect, reject, map, etc.