+ 2
What is the difference between ruby and ruby on rails?
2 Antworten
+ 12
Ruby is a language. Ruby on Rails is a framework that uses and depends on the Ruby programming language
https://www.quora.com/What-is-the-difference-between-Ruby-and-Ruby-on-Rails-web-framework
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.