Книга: Metaprogramming Ruby 2
Назад: A Lesson Learned
Дальше: The Rise of alias_method_chain

Chapter 11

The Rise and Fall of alias_method_chain

In the previous two chapters, we looked at the modular design of Rails and how that design changed over time. Now I’ll tell you of a more dramatic change in Rails’ history: how a method named alias_method_chain rose to fame, fell in disgrace, and was eventually scrapped almost entirely from the Rails codebase.

Назад: A Lesson Learned
Дальше: The Rise of alias_method_chain