Ruby on Rails

Reading Time: 3 minutes

Ruby on Rails Syllabus

    Module 1 : Introduction

    • What is Ruby
    • Why ruby
    • General purpose of ruby
    • Brief History of Ruby
    • Where does ruby get its ideas
    • Ruby Installation with RVM
    • Creating a basic script in ruby
    • Sample demo of ruby program

    Module 2 : RVM(ruby version manager)

    • Rvm installation
    • Rvm commands
    • Rvm Usage

    Module 3 : Working in Linux(Ubuntu) Platform

    • Basic Linux commands
    • File/Directory Permissions
    • Changing access rights
    • Text Editors used for ROR

    Module 4 : Ruby Operators & Ruby Shell

    • IRB – Ruby Shell
    • Working with Ruby operators and expressions
    • Numeric Methods
    • Rand and Ranges
    • Strings, Escaping, Interpolation
    • String methods
    • Dates and Times

    Module 5 : Ruby Datatypes & Variables

    • Ruby Datatypes
    • Numbers, Boolean, Strings, Arrays, Hashes, Symbols.
    • Types of Variables(Global, Instance, Class, Local, Constant, Pseudo)
    • Difference between local & instance variables
    • Parallel Assignment
    • Variable conditions

    Module 6 : Ruby methods and modules

    • Basic ruby methods
    • Return values from methods, return statements
    • Class methods
    • Different ways to call methods
    • Ruby modules and Mixins
    • Ruby require and include statement
    • Diffence between class and module

    Module 7 : OOP in Ruby

    • OOP
    • Class
    • The initialize method
    • The accessor & setter method
    • Access Control
    • Class Inheritance
    • Method Overriding
    • Operator Overloading
    • Singleton methods
    • Metaclass
    • Defining Attributes
    • Variable types in Ruby
    • Super
    • Regular Expressions
    • Exceptions

    Module 8 : Basic loops and iterators

    • Conditional operators
    • Case Statement Rails

    Module 9 : Rails Installation and Ruby gems

    • What is Rails
    • Full tack Framework
    • Rails Strength
    • COC(convention over configuration)
    • Rails Intallation
    • Ruby and Rails installation on linux
    • Ruby Gems
    • Working with RubyGems
    • Gem commands
    • Framework Technology
    • MVC
    • Rails Components
    • How does Rails works in MVC

    Module 10 : Databases

    • Mysql Introduction
    • Installation
    • Start/Stop mysql
    • Basic Mysql operators
    • Creating user and database in mysql

    Module 11 : Statements

    • Creating a Sample Application with Rails
    • Rails Installation
    • Folder Structure
    • Setup the application
    • Rake

    RAILS Model, Controller and Views

      Module 12 : Contoller

      • What is controller?
      • Architecture Diagram for Controller
      • Creating a Controller
      • Methods and Actions
      • Parameters(params)
      • Controller Default methods
      • Scaffolding
      • Routing
      • Restful Resources
      • CRUD Verbs and Actions
      • Filters(Before,After,Around)

      Module 13 : Models

        What is model
      • Active record Basics
      • Destroy a model
      • Migrations
      • Modify, update a model
      • Dropping a database
      • Association, Validation and callbacks
      • Why Association
      • Without and wtih Association
      • Types of Association
      • Active Record validations
      • Callbacks & types of callbacks

      Module 14 : Views

      • Embedded ruby
      • Working in HAML
      • Working with Ajax, Jquery in Rails framework

      Module 15 : Testing

      • TDD & BDD