Writing Ruby on Rails Applications

Ruby on Rails (RoR) is a web application framework using the Ruby programming language. The RoR framework makes assumptions based on naming conventions and database attributes. When you follow these conventions you can more quickly develop web applications.

The RoR framework is based on the model, view, controller (MVC) pattern. In the MVC pattern, the application data is represented by the model and the view represents the presentation logic. The controller manages request/response logic for the model and the view. In the Rails Explorer, you can see that the model, view, and control elements are independent parts of a project.

To give you a sense of the framework, here are some commonly used Rails commands:

gem update rails

update Rails

rails application

create a new application

rake appdoc

generate documentation

rake --tasks

View available docs

rake stats

view code statistics

ruby script/server

start ruby server

ruby script/generate

generate elements

These websites have detailed information about the Rails framework:

RoR in 3rdRail

3rdRail leverages the RoR framework to provide Wizards that help you with basic tasks.

Use the Rails Project Wizard to set up a new project with a supported database.

Use the Model Wizard to create a deployable application with a model, controller, scaffolding and run migrations capability.

Corporate LogoCodeGear brand and product names are service marks, trademarks or registered trademarks of Borland Software Corporation in the United States and other countries.