ruby-rails example code?

in Help Center
Does anyone have a sample rails demonstration application to share?
I am intrigued by ruby on rails but don't have the knowledge to implement an IceRuby example. I have a great demo database server which is based upon the demo/Ice/session example. The corresponding IceRuby demo client slightly modified lets me see the power of Ruby.
What I can't get a handle on is how rails would create and maintain the connections through the proxy objects, and how effective or ineffective this would be.
This would great help in making the decision about the web client development environment.
I am intrigued by ruby on rails but don't have the knowledge to implement an IceRuby example. I have a great demo database server which is based upon the demo/Ice/session example. The corresponding IceRuby demo client slightly modified lets me see the power of Ruby.
What I can't get a handle on is how rails would create and maintain the connections through the proxy objects, and how effective or ineffective this would be.
This would great help in making the decision about the web client development environment.
0
Comments
Assuming that you have the Ice demo tarball, you can start as follows:
(1) Create a new Rails application: rails Ice
(2) Copy "demo/book/printer/Printer.ice" to "Ice/public/Printer.ice"
(3) Create a Rails controller: ./script/generate controller Ice ping
(4) Edit "app/helpers/ice_helper.rb" to make it wrap the Ice::Application, resp. the Printer proxy (5) Invoke the Proxy in "app/controllers/ice_controller.rb" (6) Start the web server: ./script/server
(7) Start the "Printer" server, e.g., the C++ version: "demo/book/printer/server"
(8) Open http://localhost:3000/ice/ping
Take care,
Andreas
Don