Email the Author

You can use this page to email Ryan Bigg about Multitenancy with Rails - 2nd edition.

Please include an email address so the author can respond to your query

This message will be sent to Ryan Bigg

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

The second edition of the best-selling Multitenancy with Rails book, full of new tricks + approaches to the multitenancy problems.

This book will demonstrate how to add multitenancy features to an existing Rails application, and also how to charge money for those features using the Braintree and Stripe payment gateways.

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 adding multitenancy features to an already-established Rails codebase using some seriously good best practices, working with tools and processes like Behaviour-Driven Development, and PostgreSQL schemas. Along the way we'll discover that while something may seem like the best tool for the job, it may have show-stopping caveats.

In Chapter 5, the book covers how to use Braintree to make processing subscription payments for your multitenanted site a breeze. If Braintree isn't your thing, then Chapter 6 uses Stripe to do the same thing.

What's different between this book and the 1st edition? AKA: Why should I buy this book?

If you've bought the first edition already and would like a discounted copy ($10) then please email me with your receipt and I can hook you up. If you want to pay full-price for it, then go ahead :)

In the first edition, we build an application from scratch and inside that application we add our own authentication system using Warden. In the second edition, we use an existing, established application and add multitenancy features to that. This means that there's less waffling about authentication and we get straight to the implementation of multitenancy within this etablished application quicker.

By doing it this way, you get to see how these features can be added to an already existing application, which is probably why you're reading the book in the first place!

The first edition covers only Braintree's Transparent Redirect. This system is being deprecated by Braintree, and so in the second edition that chapter has received an entire rewrite to use Braintree's v.zero payment form and their subscriptions features. There's also an additional chapter that covers Stripe subscriptions, if that's more your thing.


About the Author

Ryan Bigg’s avatar Ryan Bigg

@ryanbigg

Ryan has been writing books and documentation for programming languages for over a decade. These books have sold over 20,000 copies worldwide.

Ryan lives in the lovely coastal town of Warrnambool, Australia.

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Multi-tenancy-rails-2 › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss