|4 months ago||5 months ago|
|MIT License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Create views to display all data managed by apartment gem
1 project | dev.to | 17 Nov 2021
One strategy of the apartment gem is to store tenant data in dedicated schemas in a Postgres database.
restart rails app from controller action
1 project | reddit.com/r/rails | 8 Oct 2021
How we found and fixed a rare race condition in our session handling - The GitHub Blog
1 project | reddit.com/r/ruby | 18 Mar 2021
The other issue I think was with Apartment tenant switching and ActiveRecord's column cache. Some tenants had the updated columns and others didn't. Also with Puma. People love them some Puma! Me, I go with Passenger. Well, if the requirements are right that is...
MatrixEval - A local alternative to GitHub Action/Circle CI/Travis CI matrix job. Simply run your code against different versions of dependencies.
4 projects | reddit.com/r/ruby | 1 Mar 2022
If your code needs to integrate with other services like database. Here is another real configuration from another ruby gem - multi-tenant-support
Best Practices for Multitenancy for Rails 7?
1 project | reddit.com/r/rails | 3 Nov 2021
I build a gem multi-tenant-support recently, which mainly focuses on data leak protection.
multi-tenant-support gem: Help you build a highly secure, multi-tenant rails app without data leak
2 projects | reddit.com/r/ruby | 4 Oct 2021
But you can easily override the finder method in controller with your own strategy. (lib/multi_tenant_support/concern/controller_concern.rb)2 projects | reddit.com/r/ruby | 4 Oct 2021
By the way, I just updated the README to contain lots of details about what make multi-tenant-support difference from others. That may help.6 projects | reddit.com/r/rails | 4 Oct 2021
I would love to hear your feedback about multi-tenant-support. Please let me know if you like it or not, or create an issue if it does not work as you expected.
What are some alternatives?
Acts As Tennant - Easy multi-tenancy for Rails in a shared database setup.
Milia - Easy multi-tenanting for Rails5 (or Rails4) + Devise
pluck_all - A more efficient way to get data from database. Like #pluck method but return array of hashes instead.
activerecord-multi-tenant - Rails/ActiveRecord support for distributed multi-tenant databases like Postgres+Citus
rails_or - Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.
SanitizeSqlLike - Backport #sanitize_sql_like method from Rails 4 for Rails 3. Sanitizes a string so that it is safe to use within an SQL LIKE statement.
BabySqueel - :pig: An expressive query DSL for Active Record
Filtered - Filters ActiveRecord queries in a nice way
Rails PG Extras - Rails PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.
FindWithOrder - Provides a simple way to find records in the same order of input array. Has better performance than manually sorting. (Support both PostgreSQL and MySQL)