Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL

Chapter 11. Working with Ruby on Rails > Using the Rails Adapter with IBM_DB - Pg. 391

Figure 11-3 shows the Listing Orders page. Figure 11-3 List Order webpage The web applications development with Ruby on Rails was designed to be an effortless task. With just four commands and a little configuration, we created a website that can handle the common table operations for a database application. 11.5 Using the Rails Adapter with IBM_DB In this section, we demonstrate how to create a basic web application using the Rails framework with the IBM_DB Adapter. The sample program is a simple telephone directory application for a user to list, add, update, and delete phone entries. Rails can be used to generate the Data Definition Language (DDL) for the database objects. We show how to create tables with Ruby on Rails. Chapter 11. Working with Ruby on Rails 391