Unit I
Introduction: creating a first web application - getting started with ruby - working with numbers in ruby - working with strings in ruby - storing data in variables - creating constants - Interpolating variables in double quoted strings - reading text on the command line - working with operators - Handling operator precedence.
Unit II
Arrays and conditionals, loops, methods and Blocks: Working with arrays - using two array indices - working with hashes - working with ranges - if statement - using loops - creating and calling a method.
Unit III
Classes and objects: Creating a class - creating an object - using a constructor to configure objects - understanding ruby attributes - Basing one class on another - understanding ruby's object access - overriding methods - creating class variables - creating class methods.
Unit IV
Rails: Putting Ruby on Rails - creating the Application framework - Running the Application - creating the controller - creating an Action - creating a view - Introducing model view controller architecture - giving the views to do - mixing ruby code and html inside the view - passing data from action to a view.
Unit V
Building simple Rails Applications: Accessing data the user provides - Reading data from text fields - Reading data from checkboxes - Reading data from Radio Button - Reading data from select controls.
Text Book(s)
1. Beginning Ruby on Rails, Steven Holzner, Wrox Publication, 2006
References
1. Beginning Rails, From Novice to Professionals – Jeffery Allan Hardy, Colves Carnevio, Hampton Catlin, Wrox Publications, 2006

