What is the diffrenece between Ruby and Ruby on Rails? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11

What is the diffrenece between Ruby and Ruby on Rails?

22nd Oct 2016, 6:09 PM
//Lana Wilson
//Lana Wilson - avatar
4 Answers
+ 17
Ruby is a multipurpose and general programming language.. Ruby on rails is a web framework designed using Ruby that allows you to make web applications with Ruby code easier and faster as the more common tasks that you will need for making a web application are already coded as a function, method or a class inside the framework in Ruby, so you can jump directly to write the web application functionality. You can see it this way... Ruby on rails is for Ruby as Django is for Python.
22nd Oct 2016, 6:23 PM
Nelson Urbina
Nelson Urbina - avatar
+ 4
ruby is programming language ruby on rails is web framework
23rd Oct 2016, 7:58 AM
Lovish
Lovish - avatar
+ 1
Rails is the interface, and Ruby is the programming logic. it's more or less like JavaScript and Html
22nd Oct 2016, 6:46 PM
Kenshin
Kenshin - avatar
0
A lot of these answers are good. I asked the same question a couple of years ago and I figured out a way to explain it. Basically, Ruby is an open source object-oriented programming language meaning there’s a model, a view, and a controller. Ruby has a bunch of prebuilt plug-ins that are known as RubyGems and Rails is one of them. Experienced Ruby programmers highly suggest extensive knowledge of Ruby before working with the Rails, but I dove right in with little problems. There were some which is why I’m now going for my Ruby certificate. Rails is an advance web framework for applications that uses the Ruby syntax to interact with various files of multiple languages. Rails has an algorithm that allows you generate applications with the necessary folders, sub-folders, and files through your system’s command line. Each folder that is generated has a specific purpose, but you can add files to each folder through the class hierarchy of Ruby.
1st Jan 2018, 3:49 PM
Justin Ignacious
Justin Ignacious - avatar