There's a reason this technique is known as "monkey patching."
原因是这种技术被称为 “猴子补丁”。
I also found I was by-passing or monkey-patching bits of Rails code, essentially changing the expected behavior of the framework, so it didn't necessarily play well with others in the Rails world.
我同时也发现我在Rails代码上的修修补补,本质上是改变了框架预期的行为,所以这样就没必要再和其他的Rails部分搞在一起了。
应用推荐