Ruby on Rails Introduction

Ruby on Rails is a server-side web application development framework written in Ruby language by David Heinemeier Hansson. It allows you to write less code than other languages and frameworks. It includes everything needed to create database-backed web applications according to MVC pattern.

It is opinionated software. There are two major guiding principles:

  • Don’t Repeat Yourself (DRY): DRY is a principle of software development which states that “Every piece of knowledge must have an authoritative, unambiguous, single representation within a system. If same piece of code will not repeat again and again, code will be more maintainable, extensible and less buggy.
  • Convention Over Configuration (CoC): It provides different opinions for the best way to do many things in a web application.

Ruby on Rails History

Ruby on Rails creation

Ruby on Rails was created by David Heinemeier Hansson (DHH). He was working at 37signals (now Basecamp) company to create a project management application in Ruby. To help speed along the process, he created a custom web framework Ruby on Rails. It is also called Rails.

Ruby on Rails release

He first released it as open source in July 2004 but did not share the commit rights until February 2005. In August 2006, the Apple company announced that it would ship Ruby on Rails with Mac OS X v10.5 “Leopard”.

In March 15, 2009, Rails version 2.3 was released. It included major new developments in templates, engines, Rack and nested model forms.

In December 23, 2008, Merb, another web application framework was launched. Rails announced that it would work with the Merb project to the best ideas of Merb into Rails 3. It ended the unnecessary duplication of codes in both the frameworks.

Ruby on Rails in present

Rails 5.0.1 was released on December 21, 2016. It introduced Action cable, Turbolinks 5 and API mode.


Ruby on Rails Versions

VersionRelease DateDescription
1.0December 13, 2005It has spit and more polished than its earlier release.
1.2January 19, 2007
2.0December 7, 2007Semicolon methods were dropped instead of regular slash, namespace feature was added.
2.1June 1, 2008
2.2November 21, 2008Includes internationalization framework, better API documents.
2.3March 16, 2008Developments in Templates, Racks, Engines and Nested Model forms.
3.0August 29, 2010Everything was made better, cleaner and faster.
3.1August 31, 2011Features reversible Database migrations, Streaming, Asset Pipeline, JQuery, CoffeeScript and Sass into the satck.
3.2January 20, 2012Released with a faster development mode and Routing engine, Automatic query explain and Tagged logging.
4.0June 25, 2013Introduces Russian Doll Caching, LiveStreaming, Turbo links as well as making active resource.
4.1April 8, 2014Introduces Spring, Variants, Enums, Mailer previews and secrets.yml.
4.2August 20, 2014Introduces active job, adequate record, web console and foreign keys.
5.0December 18, 2015Introduces API mode, turbolinks 5 and action cable.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *