Ruby on Rails

Got from wikipedia to start my blog

Ruby on Rails was extracted by DHH from his work on Basecamp, a project management tool by 37signals (now a web application company). Hansson first released Ruby on Rails as open source in July 2004, but did not share commit rights to the project until February 2005.In August 2006 the framework reached a milestone when Apple announced that it would ship Ruby on Rails with Mac OS X v10.5 “Leopard”, which was released in October 2007.

Ruby on Rails version 2.3 was released on March 15, 2009. Major new developments in Ruby on Rails include templates, engines, Rack and nested model forms.

  • Templates enable the developer to generate a skeleton application with custom gems and configurations.
  • Engines let one reuse application pieces complete with routes, view paths and models.
  • The Rack web server interface and Metal allow one to write optimized pieces of code that route around ActionController.

On December 23, 2008, Merb, another web application framework was launched, and Ruby on Rails announced a commitment to work together. The Ruby on Rails team announced they would work with the Merb project to bring “the best ideas of Merb” into Ruby on Rails 3, ending the “unnecessary duplication” across both communities. Merb was merged with Rails as part of the Rails 3.0 release.

Like many web frameworks, Ruby on Rails uses the Model-View-Controller (MVC) architecture pattern to organize application programming.

Ruby on Rails includes tools that make common development tasks easier “out of the box”, such as scaffolding that can automatically construct some of the models and views needed for a basic website.Also included are WEBrick, a simple Ruby web server that is distributed with Ruby, and Rake, a build system, distributed as a gem. Together with Ruby on Rails these tools provide a basic development environment.

Ruby on Rails relies on a web server to run it. Mongrel was generally preferred over WEBrick at the time of writing, but it can also be run by Lighttpd, Abyss, Apache, nginx, and many others. From 2008 onwards, the Passenger web server replaced Mongrel as the most used web server for Ruby on Rails.

Ruby on Rails is also noteworthy for its extensive use of JavaScript libraries Prototype for Ajax. Ruby on Rails initially utilized lightweight SOAP for web services; this was later replaced by RESTful web services. Ruby on Rails 3.0 uses a technique called Unobtrusive JavaScript to separate the functionality (or logic) from the structure of the web page, and jQuery is fully supported as a replacement for Prototype.

Since version 2.0, Ruby on Rails by default offers both HTML and XML as output formats. The latter is the facility for RESTful web services.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s