Milia

screenshot of Milia
rails

Easy multi-tenanting for Rails5 (or Rails4) + Devise

Overview

Milia is an exceptional tool designed specifically for Ruby on Rails applications, particularly those that are multi-tenant in nature. This gem is an excellent fit for Software as a Service (SaaS) applications, allowing developers to manage multiple organizations or companies seamlessly within a single database. By ensuring the proper isolation and accessibility of data, Milia caters to typical multi-tenancy requirements while remaining user-friendly for both developers and end-users.

With easy integration into existing Rails applications, Milia leverages the Devise gem for user authentication and registration. Aimed at facilitating the deployment of secure and well-structured multi-tenant applications, it offers a comprehensive range of capabilities that enhance the overall development experience.

Features

  • Multi-Tenant Support: Milia enables applications to serve multiple organizations (tenants) while securely managing and segregating their data.

  • Robust Authentication: Out-of-the-box support for Devise simplifies user authentication and registration processes, allowing for a seamless user experience.

  • Row-Based Tenanting: By enforcing row-based separation of tenant data, Milia ensures that users can only access records relevant to their own organization, enhancing security.

  • Flexible Model Configuration: Customizable tenanted and universal models allow developers to define which models belong to specific tenants and which have a broader relevance.

  • Caution and Security: Milia raises exceptions on attempted illegal access, preventing unauthorized users from accessing tenant-specific information.

  • Non-Invasive Integration: Designed to minimize interference with existing Rails code, Milia integrates smoothly, making it easy for developers to adopt.

  • Comprehensive Documentation: An extensive set of tutorials and documentation assists in both installation and usage, streamlining the onboarding process for new users.

  • Sample App for Reference: Milia provides a sample app that demonstrates its capabilities, allowing developers to visualize and interact with its features in action.

rails
Ruby on Rails

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.