You are previewing Ruby on Rails™ 3 Tutorial: Learn Rails™ by Example.

Ruby on Rails™ 3 Tutorial: Learn Rails™ by Example

Cover of Ruby on Rails™ 3 Tutorial: Learn Rails™ by Example by Michael Hartl Published by Addison-Wesley Professional
O'Reilly logo

Chapter 4. Rails-Flavored Ruby

Grounded in examples from Chapter 3, this chapter explores some elements of Ruby important for Rails. Ruby is a big language, but fortunately the subset needed to be productive as a Rails developer is relatively small. Moreover, this subset is different from the usual approaches to learning Ruby, which is why, if your goal is making dynamic web applications, I recommend learning Rails first, picking up bits of Ruby along the way. To become a Rails expert, you need to understand Ruby more deeply, and this book gives you a good foundation for developing that expertise. As noted in Section 1.1.1, after finishing Rails Tutorial I suggest reading a pure Ruby book such as Beginning Ruby, The Well-Grounded Rubyist, or ...

The best content for your career. Discover unlimited learning on demand for around $1/day.