Multitenancy with Rails
Multitenancy with Rails
$20.00
Minimum
$25.00
Suggested
Multitenancy with Rails

This book is 100% complete

Completed on 2015-11-24

About the Book

The 2nd edition of this book is now available! Buy it here: https://leanpub.com/multi-tenancy-rails-2

This book will teach you super neat tricks about Rails and PostgreSQL while you build a multi-tenanted Ruby on Rails application.

What's a multi-tenanted application? Think of applications like GitHub, where each user or organisation can have their own separate area within the application. Or how about Heroku where each user has their own separate app group. Those are multi-tenanted applications.

In this book we'll be building a multi-tenanted forum application using some seriously good best practices, working with tools and processes like Behaviour-Driven Development, and PostgreSQL schemas. I'll also cover the normal methodology of scoping using foreign keys in a table. That's just the first four chapters.

In the 5th and final chapter, the book covers adding subscriptions to an application using the Braintree gateway. A subscription system is typically tough to get right, but with Braintree it's a breeze. This book will show you how.

  • Share this book

About the Author

Ryan Bigg
Ryan Bigg

Ryan Bigg won a Ruby Hero Award in 2011 for his work on documentation within the Ruby on Rails community, including work on several of the official Ruby on Rails guides, and his first book Rails 3 in Action, which is now in its second edition as Rails 4 in Action. On the Leanpub side of things, he wrote Multitenancy with Rails.

He previously worked full-time on the open-source parts of Spree Commerce as the Community Manager, but now works full-time as an employee of Marketplacer, building marketplaces for a wide-range of businesses. Oh, and he is well-known on Stack Overflow for providing great answers for Ruby and Rails questions.

He even has a blog.

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub