カンタンだっていうから、超短いコードでDataGridアプリを作ってみる。 コントローラの作成 > ruby script/generate controller Sayアクションの定義 (自動生成されたsay_controller.rbの編集) class SayController < ApplicationController def hello end endビュー用のXMLの定義 (hello.rhtmlの新規作成) <?xml version="1.0" encoding="UTF-8"?> <Books> <% 1.upto(5) do |count| %> <Book> <Title>Ruby on Rails<%=count%></Title> <Price><%= count * 1000 %></Price> <Category>Web</Category> </Bo