Ruby & Ruby on Rails for Beginners / Chapter 1 — Ruby Syntax (lessons 1–8) / Lesson 1
What Is Ruby? (Everything Is an Object)
Time needed: about 2 min (estimate)
Reading settings
These settings are remembered on this device only.
You can try the opening of this lesson without an account.
Why look at Ruby before Rails
Rails is a collection of libraries written in Ruby.
Both has_many :comments and validates :title, presence: true are ordinary Ruby method calls, not magic.
If you read Rails without knowing how Ruby is written, you can't tell where the language ends and Rails begins.
The 8 lessons in this chapter get Ruby out of the way first.
Terminal
Everything is an object
Create a free account to keep reading
With an account you can read the rest of this lesson, take the quiz, and read every free lesson in this course. Lessons you answer correctly are recorded as complete.
Report a problem with this lesson
Log in to send a report.