«Painless Rails» book
Why another book about Ruby on Rails?
There are two kinds of books about Rails:
In "unlearning" chapters we discover how writing code in a conventional way makes our life harder. In "learning" chapters we describe "Painless Rails" approach piece by piece.
This book is here to help you achieve these things:
Table of contents*
Chapter 1: Controversial smoothness of Rails way approach
* The book structure and titles might differ in the final version
Продажник - painlessrails.com/book/
Why another book about Ruby on Rails?
There are two kinds of books about Rails:
- First ones are a description of Rails features.
- Second ones provide a list of anti-patterns and recipes to fix them.
In "unlearning" chapters we discover how writing code in a conventional way makes our life harder. In "learning" chapters we describe "Painless Rails" approach piece by piece.
This book is here to help you achieve these things:
- Identify and fix most harmful flaws in your current Rails application
- Establish a solid foundation for your next Rails project
- Learn to look beyond code and realize how to organize concepts, not classes and methods
Table of contents*
Chapter 1: Controversial smoothness of Rails way approach
- Masking complexity with callbacks and conditional validations
- Mixing internal with external
- Ignoring layers in Rails
- Mixing Application Logic and Business Logic
- The time-bomb effect
- Shapes
- Services
- Mutators
- Repositories
- Domain Models
- Hierarchy of models
- The key part of REST
- Hierarchy of controllers
- Testing
- Service Locator
* The book structure and titles might differ in the final version
Продажник - painlessrails.com/book/