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 ...

Get Crafting Rails 4 Applications, 2nd Edition 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.