Chapter 4: Rails Revealed

As we've already covered in Chapter 1, quite a bit of thought has been put into the codebase that makes up the Rails framework. Over time, many of the internals have been rewritten, items have been added and removed, and conventions have changed. All of this change has improved speed and efficiency, allowing the implementation of additional features, but the original architecture remains largely unchanged. This chapter will shed some light on the inner workings of Rails.

Three Environments

Rails encourages the use of a different environment for each stage in an application's life cycle development, testing, and production. If you've been developing web applications for a while, this is probably how you operate anyway; ...

Get Rails: Novice to Ninja, 3rd 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.