Currency Converter

1.2 GPL (GNU General Public License)    
3.0/5 19
It is a currency converter built in ruby on rails.




It is a currency converter built in Ruby on Rails. It will allow the users to convert currency from/to any currency value.

Usage: require "rcurrency" result = RCurrency::Convertor.convert(100, "CNY", "USD")

About Ruby on Rails:

Ruby on Rails is a free web application framework designed to make web development faster, simpler and more efficient. Often shortened to Rails, or RoR, Ruby on Rails is written in the Ruby programming language.

Ruby on Rails was extracted by David Heinemeier Hansson from his work on Basecamp, a project management tool by the web design (now web application) company 37signals. It was first released to the public in July 2004. In August 2006 Apple announced that it would ship Ruby on Rails with Mac OS X v10.5 Leopard, which was released in October 2007.

The fundamental Ruby on Rails principles include Convention over Configuration (CoC) and Don't repeat yourself (DRY).

"Convention over Configuration" means a developer only needs to specify unconventional aspects of the application. For example, if there's a class Sale in the model, the corresponding table in the database is called sales by default. It is only if one deviates from this convention, such as calling the table "products_sold", that one needs to write code regarding these names.

"Don't repeat yourself" means that information is located in a single, unambiguous place. For example, using ActiveRecord, the developer does not need to specify database column names in class definitions. Instead, Ruby can retrieve this information from the database.
Last updated on May 4th, 2008

0 User reviews so far.