I have been studying Ruby for the past few days and I have noticed there is Ruby on Rails.
What is the difference between the two? Do they work together? Is the syn
Just like PHP has Codeigniter , CakePHP and Laravel, similarly, Ruby has Ruby on Rails ("RoR").
Ruby on Rails is a library written in the Ruby language. Its popularity prompted many people to take up writing in Ruby to make use of it, which led many people to treat them as inseparable. :)
Ruby is a general purpose language. Ruby on Rails is a Ruby framework for implementing web applications.
Ruby is a programming language. Ruby on Rails ("RoR") is a web-application framework that is implemented in Ruby.
So they not only "work together" but RoR depends on Ruby.
Ruby is an interpreted scripting language for quick and easy object-oriented programming.
Ruby is a programming Language
Ruby on Rails is web-development framework.
You can read more in "Small Discussion about Ruby on Rails".
Ruby is a scripting language and Rails is a framework which is built using Ruby.
Ruby and Rails are tightly coupled and "Rails is magic emerged out of Ruby". Whatever you write in a Rails application is just Ruby code. When you run a Rails application, you are just interpreting the Ruby code using Ruby's interpreter.