Multitenancy with Rails teaches you super neat tricks about Ruby, Rails and PostgreSQL while you build a multi-tenanted, Software as a Service, Ruby on Rails application. Works on Rails 4 and up.
This book is what I'd consider an "intermediate" Rails book. It's something that you would read after finishing Rails 4 in Action, so in a way Multitenancy is a sequel to Rails 4 in Action.
This book uses Twist -- an app I wrote from scratch -- as the basis for the work done in the book.
(This was my first foray into self-publishing. It went pretty well.)