CS 59R - Developing Web Applications with Ruby on Rails


Introduction to the Ruby object-oriented programming language and Rails web application framework. Using Ruby on Rails, web applications with tight database integration can be developed and deployed with speed and agility. This course covers the fundamentals of programming in Ruby as it pertains to using Rails. Other topics include: the Rails model/viewer/controller architecture, SQL database backends, using layouts, scaffolds, and session management.


Completion of CS 12 or CS 27 or equivalent.
Advisory: Completion of CS 62 or equivalent.

Course Outcomes

  1. Write Ruby programs utilizing fundamental programming concepts: variables, methods, conditionals, and loops.
  2. Analyze Ruby programs and correct errors (bugs) so the programs run correctly.
  3. Integrate Ruby programs with the Rails framework to develop interactive web sites that utilize forms, buttons, and menus.
  4. Explain the model/viewer/controller paradigm.
  5. Write correct Ruby on Rails applications that are separated into the MVC components using the MVC paradigm.
  6. Write correct SQL (Structured Query Language) statements using the basic SQL commands: CREATE TABLE, DROP TABLE, SELECT, INSERT, UPDATE, and DELETE.
  7. Create a database-backed Ruby on Rails application and demonstrate its correctness.
  8. Utilize the layout concept in a Ruby on Rails application.
  9. Utilize scaffolding in a Ruby on Rails application.
  10. Utilize session management techniques (including session IDs and cookies) in a Ruby on Rails application.


Tim McGowen (online)


This course is offered in the spring semester in an online format.