Designed and developer by Yukihiro Matsumoto in the mid 1990s in Japan, Ruby was the perfect language for Yukihiro, as it was:
• Truly Object Oriented
• Syntactically Simple
• Had Iterators and Closures
• Exception Handling
• Garbage Collection
Ruby is a decent performer, but really fast hardware shall be used to make use of the good performance. Since hitting version 2.0, introducing a lot of new features and stability improvements.
Ruby on Rails
Ruby on Rails is the most powerful Ruby web framework out there. Just like in other langauges, you should learn good Ruby (at least the basic stuff) in order to understand and work on frameworks. Ruby on Rails supports the best technologies, that save you a ton of time tring to achieve using alternative or fragmented services. But there is a lot more to that, and the following gives you a better idea why you should learn Ruby on Rails.
• MVC architecture - Ruby on Rails is based on the MVC design pattern that enables data to be separated from presentation.
• Community - Ruby and Rails are both open source, and have a thriving community all around the world that is willing to help you, which is great for new developers.
• Debugging - Rails provides detailed error logs, making it easier than ever before to debug applications.
• Libraries - a host of libraries is available that do a great job in simplifying coding of common programming tasks like form validations, sessions management etc.
• Database Access Library - Ruby on Rails includes Active Record which simplifies data handling in databases by automatically mapping tables to classes and rows to objects.
Ruby is similar to Python. Just like Python, it was designed to make programming more productive by emphasizing short and simple code that is consistent and flexible.
The main difference between the two is in the language or syntax they use. In Python, there is only one right way to program stuff, which is obviously efficient and fast. In Ruby, there are several ways to do the same thing, and some may be faster than others.
Regarding frameworks, Ruby on Rails is a very common open-source web framework that enables developers to create dynamic websites in a quick and productive way.