O'Reilly logo

Rails Crash Course by Anthony Lewis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. Ruby Fundamentals

In 1993, Yukihiro “Matz” Matsumoto combined parts of his favorite languages (Perl, Smalltalk, Eiffel, Ada, and Lisp) to create his own ideal language, which he called Ruby.

Ruby is a dynamic, object-oriented programming language that also supports imperative and functional programming styles. It focuses on simplicity, productivity, and developer happiness. The Ruby website refers to it as “A Programmer’s Best Friend,” and developers with experience in other languages usually find Ruby easy to write and natural to read.

A solid foundation in Ruby is essential to understanding Ruby on Rails, so I’ll cover Ruby fundamentals in this chapter. As we progress through the language features, I’ll demonstrate common idioms used ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required