The Rails Doctrine