Chapter Recap

What was new in this chapter?

  • Package management

  • Installing RubyGems

  • Installing, updating, and querying specific gem package files

  • Rails basics

  • Installing Rails

  • The MVC pattern

  • ORM basics

  • Viewing your first Rails application

  • Generating Models and Controllers

  • The index View used as the default View

  • Distinguishing instance methods from class methods with #

  • HTML stub files for Views

With just that information, you could create some interesting applications that do a variety of dynamic tasks. However, the real power of Rails stems from its ability to access a database and manipulate content. That will be the focus of our next and final chapter.

Get Ruby by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.