Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free. Learn more →
Top 23 Ruby ORM/ODM Extension Projects
Track changes to your rails modelsProject mention: History Tracking With Postgres | dev.to | 2022-10-25
For a while we did this using the paper-trail gem. This was a very simple way to add a few lines of code to keep track of all of the changes made to an ActiveRecord model. But it came with one drawback. Every change to the data had to be done through ActiveRecord. There are often times when this makes an app vulnerable to a race condition. I’ll use a contrived example so as not to share any real code from our client’s app.
A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.Project mention: How to get similar posts without duplicates in Rails 7? | reddit.com/r/rails | 2022-08-11
Might want to check out acts_as_taggable_on and see how it handles such query: https://github.com/mbleigh/acts-as-taggable-on
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
A library for bulk insertion of data into your database using ActiveRecord.Project mention: Video – How I 100x'd Bulk Import Speed in Rails with Some Pretty Gnarly SQL | reddit.com/r/ruby | 2022-05-27
I've used the activerecordimport gem with great success
Organise ActiveRecord model into a tree structureProject mention: SQL help me please with multi nested childs | reddit.com/r/rails | 2022-06-01
Making some guesses about what you’re trying to do, you’ll have to alter the table schema to do this efficiently. The ‘ancestry’ gem (https://github.com/stefankroes/ancestry ) can do the migration and update your parent_id-based data to enable all its cool features.
Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.Project mention: Temporality/time-travelling in DB with ActiveRecord? | reddit.com/r/rubyonrails | 2022-05-16
that and also have a look at audited https://github.com/collectiveidea/audited
Easy activity tracking for models - similar to Github's Public Activity
acts_as_paranoid for Rails 5, 6 and 7Project mention: We lost 54k GitHub stars | news.ycombinator.com | 2022-04-14
https://github.com/rubysherpas/paranoia is enough to solve problems at very large scales.
There is nothing about Rails or MVC preventing someone from doing this. This is a very common design principle for all kind of ERP and BPM systems: don't ever delete anything.
Workflow assistant built for devs & their teams. Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.
Database multi-tenancy for Rack (and Rails) applications
An awesome replacement for acts_as_nested_set and better_nested_set.Project mention: Active record: how to recursively load children of children of children in one query? | reddit.com/r/rails | 2022-04-01
Another option is to use something like AwesomeNestedSet which does basically the same thing as the previous suggestion but with a whole lot more flexibility (and likely more reliably performant).
An ActiveRecord plugin for managing lists.Project mention: Best way to represent a "sequence" column in a relational database. | reddit.com/r/rails | 2022-11-22
You can take a look at one of the longest running ruby gems, that is still part of many people's default toolbox: acts_as_list. If you don't want to use the gem, you can take a look at how they implemented the resorting.
Easily and efficiently make your ActiveRecord models support hierarchies
Enumerated attributes with I18n and ActiveRecord/Mongoid support
🃏🗑 Soft deletes for ActiveRecord done rightProject mention: Accessing point in time data when data changes over time | reddit.com/r/rails | 2022-08-12
Attach comments to ActiveRecord's SQL queries
Votable ActiveRecord for Rails
Reputation engine for Rails apps
Ruby JSON Schema Validator (by voxpupuli)
Just the right amount of Rails eager loadingProject mention: Proof of Concept: auto-preloading in ActiveRecord | reddit.com/r/rails | 2022-10-31
There are many gems doing this. I use this one : https://github.com/salsify/goldiloader
ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
Database changes log for RailsProject mention: Temporality/time-travelling in DB with ActiveRecord? | reddit.com/r/rubyonrails | 2022-05-16
Easy multi-tenancy for Rails in a shared database setup.Project mention: Consoliate or forward traffic the comes to different domains that belong to the same server | reddit.com/r/rails | 2022-09-12
Validation library with type-safe schemas and rules
Adds additional postgres functionality to an ActiveRecord / Rails applicationProject mention: My project: railstart app | reddit.com/r/rails | 2022-06-12
Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.
Ruby ORM/ODM Extensions related posts
Best way to represent a "sequence" column in a relational database.
1 project | reddit.com/r/rails | 22 Nov 2022
Effective Queries with Rails and PostgreSQL
1 project | dev.to | 9 Nov 2022
How to implement user options
2 projects | reddit.com/r/rails | 4 Nov 2022
Proof of Concept: auto-preloading in ActiveRecord
4 projects | reddit.com/r/rails | 31 Oct 2022
EXISTS clause for active record
2 projects | reddit.com/r/rails | 29 Oct 2022
History Tracking With Postgres
1 project | dev.to | 25 Oct 2022
Arable - object oriented way of building Arel queries
2 projects | reddit.com/r/rails | 13 Oct 2022
A note from our sponsor - SonarQube
www.sonarqube.org | 2 Dec 2022
What are some of the best open-source ORM/ODM Extension projects in Ruby? This list will help you:
|9||Awesome Nested Set||2,320|
|15||Acts As Votable||1,506|
|17||Ruby JSON Schema Validator||1,376|
|21||Acts As Tennant||1,259|