必读,作者是 Thoughtbot 的 CEO。书里阐述了 Rails 开发中常见的反模式,并给出了解决方案。语言平实易读,示例详尽,唯一的缺点是版本太旧,部分语法已经有变动,但是思想还是一致的。
Rails 版的重构,教你识别 Rails 项目中的坏味道,针对每种坏味道给出了切实可行的解法。Rails 版本 3.2
14 年出版的的迷你书,只有几十页。风评不错,还没读。
版本是 4.1.0
一章一个项目,从简单的菜谱分享到复杂的电商平台。
This book is aimed at developers who are already familiar with the basics of the Rails framework and have worked with Rails 3.2 or earlier versions. As the book follows a practical approach and uses terminology specific to Rails and web programming, it is assumed you have some prior experience with the development of applications. This book will help you upgrade your knowledge and improve its applicability.
版本是 4.0.0
This book guides you through these plug-in APIs with practical examples. In each chapter, we’ll use test-driven development to build a Rails plug-in or application that covers those APIs and how they fit in the Rails architecture. By the time you finish this book, you will understand Rails better and increase your productivity while writing more modular and faster Rails applications.
If you’re an intermediate or advanced Rails developer looking to dig deeper and make the Rails framework work for you, this is your book. We’ll go beyond the basics of Rails; instead of showing how Rails lets you use its built-in report erratum • discuss features to render HTML or XML from a controller, I’ll show you how the render() method works so you can modify it to accept custom options, such as :pdf.
重构(ruby 版)
也欢迎各路大牛推荐下~