Can I use Ruby in Rails?

This might be a dumb question, but is everything serious in Ruby working in Rails?

I mean, the rails didn't rewrite anything, but just added new things to the ruby, right?

(Sorry for the stupid question. I just learned the rails for 4 months, but there is no experience in ruby ​​yet (except for the rails, D)).

+4
source share
3 answers

Rails is just a structure written in ruby, so basically you should be able to use any library, class or module that you want. However, not everything does as graphical interfaces, etc.

The Ruby implementation and the platform you are working on may also have limitations, for example, everything may not work on a Windows server or on MacRuby or JRuby, etc.

+6
source

Rails doesn’t delete anything about Ruby, it just adds a new class and method to the standard ruby ​​libraries.

+2
source

Ruby on Rails is a platform for building web applications and is implemented in Ruby.

+1
source

All Articles