All Projects → rubygarage → detectify

rubygarage / detectify

Licence: MIT license
Detectify is a gem for multi-tenant Rack apps, to help you retrieve domain and subdomain-related data from a database.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to detectify

grandnode2
Free, Open source, Fast, Headless, Multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, LiteDB, Vue.js.
Stars: ✭ 626 (+692.41%)
Mutual labels:  multitenancy, multitenant, multitenant-applications
multitenant-microservices-demo
Full Isolation in Multi-Tenant SaaS with Kubernetes + Istio
Stars: ✭ 57 (-27.85%)
Mutual labels:  multitenancy, multitenant, multitenant-applications
react-native-multitenant-boilerplate
No description or website provided.
Stars: ✭ 27 (-65.82%)
Mutual labels:  multitenancy, multitenant, multitenant-applications
eight ball
Ruby gem for querying feature flags
Stars: ✭ 17 (-78.48%)
Mutual labels:  ruby-gem, ruby-gems
sails-hook-multitenant
A multitenant Sails.js 1.X hook for Waterline ORM.
Stars: ✭ 15 (-81.01%)
Mutual labels:  multitenancy, multitenant
grape-jwt-authentication
A reusable Grape JWT authentication concern
Stars: ✭ 31 (-60.76%)
Mutual labels:  rack, ruby-gem
office-building
🏢 Easy to use SaaS Multitenancy solution for Laravel
Stars: ✭ 21 (-73.42%)
Mutual labels:  multitenancy, multitenant
meta-package-manager
🎁 a wrapper around all package managers
Stars: ✭ 277 (+250.63%)
Mutual labels:  ruby-gem
glimmer-dsl-tk
Glimmer DSL for Tk (Ruby Tk Desktop Development GUI Library)
Stars: ✭ 26 (-67.09%)
Mutual labels:  ruby-gem
front matter parser
Ruby library to parse files or strings with a front matter. It has automatic syntax detection.
Stars: ✭ 62 (-21.52%)
Mutual labels:  ruby-gem
kitchen-rackspace
A Rackspace Cloud driver for Test Kitchen
Stars: ✭ 15 (-81.01%)
Mutual labels:  ruby-gem
highlights-jekyll-theme
A Jekyll version of the "Highlights" theme by HTML5 UP.
Stars: ✭ 26 (-67.09%)
Mutual labels:  ruby-gem
rack-params
`Rack::Request.params` validation and type coercion, on Rack.
Stars: ✭ 31 (-60.76%)
Mutual labels:  rack
scoruby
Ruby Scoring API for PMML
Stars: ✭ 69 (-12.66%)
Mutual labels:  ruby-gem
lazylead
Eliminate the annoying work within ticketing systems (Jira, GitHub, Trello). Allows automating (without admin access) daily actions like tickets fields verification, email notifications by JQL/GQL, meeting requests to your (or teammates) calendar.
Stars: ✭ 42 (-46.84%)
Mutual labels:  ruby-gem
busser
Kitchen Busser - Runs tests for projects in test-kitchen
Stars: ✭ 47 (-40.51%)
Mutual labels:  ruby-gem
make model searchable
Adds simlpe search functionality to models
Stars: ✭ 27 (-65.82%)
Mutual labels:  ruby-gem
ruby wolf
Tiny ruby web server for research and studying purpose
Stars: ✭ 19 (-75.95%)
Mutual labels:  rack
multi-tenancy-devise
mtdevise adds basecamp style user logins to your ruby on rails application.
Stars: ✭ 27 (-65.82%)
Mutual labels:  ruby-gem
has placeholder image
A Ruby gem for generating string based placeholder images in Rails.
Stars: ✭ 20 (-74.68%)
Mutual labels:  ruby-gem

Detectify

Gem Version Code Climate Coverage Status Build Status

Detectify provides a simple way to retrieve an ActiveRecord entity based on the domain/subdomain request information.

It’s a Ruby gem, similar to Houser, that helps you retrieve an Active Record entity from a database with a URL. You know Houser is a multi-tenancy gem that can send database requests using subdomain names. But Houser is a relatively old Ruby library. For modern Rails-based SaaS apps, we wanted more flexibility. That's why we've developed Detectify. For more information, you can read here Detectify review.

Installation

Add this line to your application's Gemfile:

gem 'detectify', github: 'rubygarage/detectify'

and then execute: $ bundle

Finally, restart the server to apply the changes.

Detectify only supports applications built with Ruby 2.2.2 and Rails 4.2 or higher.

Usage

Start off by generating an initializer:

$ bundle exec rails g detectify:install

this will create file config/initializers/detectify.rb in your application directory.

You can configure Detectify for your application needs via initializer. After this you can access detected entity via: request.env['Detectify-Entity'].

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rubygarage/detectify. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.


RubyGarage Logo

RubyGarage is a leading software development and consulting company in Eastern Europe. Our main expertise includes Ruby and Ruby on Rails, but we successfully employ other technologies to deliver the best results to our clients. Check out our portfolio for even more exciting works!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].