O'Reilly logo

Crafting Rails 4 Applications, 2nd Edition by José Valim

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

Wrapping Up

In this chapter, we created another Rails application and used the opportunity to better describe how Rails applications are structured and designed. We’ve once again seen the importance of the Rack specification and how it makes it easy for different frameworks (such as Rails and Sinatra) to play along with each other without hassle. We also talked more about I18n, its back ends, and its extensions. Plus, we found a good case for using a simple key-value store as Redis.

Finally, we discussed two gems that are widely used in the Rails community: Devise and Capybara. I advise you to take the next step and play with them a bit more—not only using them, but checking out their source code. You’ll notice how Devise uses ActionController::Metal ...

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