BigAdmin System Administration Portal
Feature Article
Print-friendly VersionPrint-friendly Version

Simple Demo for Ruby on Rails With the Solaris 10 OS

Lily Zhao, December 2008

Introduction

This article provides a step-by-step demo of how to set up a Ruby on Rails (RoR) environment on the Solaris Operating System and create a Ruby on Rails demo in about 10 minutes.

Ruby is a popular object oriented (OO) programming language, and RoR (also called Rails) is the web application framework for the Ruby language. There are many Rails plug-ins, such as authentication and security plug-ins, and together with the core Rails packages, these enable quick development and allow developers to focus on implementing business functions instead of building all the code from the ground up.

For more details, see the list of contents below.

Download the document as PDF.

Contents

  • Introduction
  • Installing Ruby on Rails
  • Simple Example Using the Ruby Language
  • Simple Hello World Example Using Rails Framework
    • Creating a Hello Project
    • Starting the Web Server Using the Rails Framework
    • Creating the Hello Demo
  • Rails Book Inventory Demo for Accessing MySQL Database
    • Configuring MySQL Database for the Rails Project
    • Scaffolding Generator
    • Controller
    • Layout and Views
    • Request Routing
    • Trying the Demo
  • Conclusion

For More Information

Here are additional resources:


Comments (latest comments first)

Discuss and comment on this resource in the BigAdmin Wiki

Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.


BigAdmin