Top 23 ActiveRecord Open-Source Projects
Ruby on RailsProject mention: What does adding Rails in front of logger do different? | reddit.com/r/ruby | 2021-06-17
Rails.logger will be an ActiveSupport::Logger, unless another logging provider is being used, but it should at least extend from that.
Track changes to your rails modelsProject mention: Avo for Rails v1.0 💪 🎉 | reddit.com/r/rails | 2021-03-31
They might be referring to the model change checking gem, not the log aggregation service.
Scout APM - Leading-edge performance monitoring starting at $39/month. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Object-based searching.Project mention: API - convention for filter that can have an occurrence of the value passed? | reddit.com/r/rails | 2021-05-11
You might be looking for something like Ransack - https://github.com/activerecord-hackery/ransack
AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)Project mention: Code review of an Order object implemented as a state machine | reddit.com/r/ruby | 2021-03-21
AASM gem is great too! Easy to use and actively maintained.
Annotate Rails classes with schema and routes info
Elasticsearch integrations for ActiveModel/Record and Ruby on Rails
Easy activity tracking for models - similar to Github's Public ActivityProject mention: How to Create A Flexible, Performant Audit Trail In Ruby on Rails With A GraphQL API | dev.to | 2021-04-08
You often want to track what user's are doing throughout your app. There are some gems that help you do this. For example, activerecord_activity_tracker or public_activity. However, gems like these sometimes utilize polymorphic relationships, which don't scale well, or they're very opinionated about the setup. When your requirements differ from the default setup, it can become cumbersome to implement.
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Versioned database views for RailsProject mention: Logidze 1.0, postgres-specific alternative to eg paper_trail for recording ActiveRecord change history | reddit.com/r/ruby | 2021-01-27
TIL about fx gem for storing triggers in schema.rb. That makes me so happy because scenic gem for creating database views is one of my favorites. Postgres is very powerful and it's great to see tools for exposing that through Rails.
SQL query builder, written in c#, helps you build complex queries easily, supports SqlServer, MySql, PostgreSql, Oracle, Sqlite and FirebirdProject mention: Windyquery: A non-blocking Python PostgreSQL query builder | news.ycombinator.com | 2021-05-10
That is basically the description of an object mapper, with all the guarantees of an object mapper :). It seems if you actually use the query builder as such, no guarantees exist.
I'm pretty picky regarding query builders and ORM's, to the extent of having written several of them over the years, in different languages (both dynamic and strong typed, unfortunately closed-source). I'm a strong advocate of schema-first design, and usually a query builder will allow you to design your queries explicitly, but having some internal behaviors (such as string concatenation, identifier quoting and automatic in-order separation of parameters and values to be bound) taken care of. As good examples of this, I'd mention golang's goqu (https://github.com/doug-martin/goqu) and - to some extent - C# SqlKata (https://sqlkata.com/). Following my frustrations with Python ORMs, I built my own toy project, sort-of-in-beta, called rickdb (https://github.com/oddbit-project/rick_db).
IdentityCache is a blob level caching solution to plug into Active Record. Don't #find, #fetch!
Enumerated attributes with I18n and ActiveRecord/Mongoid support
Easily and efficiently make your ActiveRecord models support hierarchiesProject mention: Find all objects of a chain of associations on the same table | reddit.com/r/rails | 2021-03-02
I’ve used this for that https://github.com/ClosureTree/closure_tree
Turbo-charged counter caches for your Rails app.Project mention: 26 most popular Ruby/Rails repositories on GitHub in July-August 2020 | dev.to | 2020-09-05
counter_culture is a turbo-charged counter cache for your Rails app. 1,301 stars by now
Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats.
Spreadsheet Architect is a library that allows you to create XLSX, ODS, or CSV spreadsheets super easily from ActiveRecord relations, plain Ruby objects, or tabular data.
ObjectiveSQL is an ORM framework in Java based on ActiveRecord pattern, which encourages rapid development and clean, codes with the least and convention over configuration.Project mention: Weekly Developer Roundup #23 - Sun Nov 22 2020 | dev.to | 2020-11-21
Show HN: A new way of ORM in Java: https://github.com/braisdom/ObjectiveSql
Database changes log for Rails
Just the right amount of Rails eager loadingProject mention: Prosopite is trending on GitHub! Thank you! | reddit.com/r/ruby | 2021-02-20
Prosopite looks cool, it's is similar to https://github.com/salsify/goldiloader, though goldiloader will also rewrite the query to address the N+1 issue. You should be able to use both and verify goldiloader is working by checking that prosopite logs no N+1 queries.
Modern encryption for Ruby and RailsProject mention: Rails 7 introduces Active Record Encryption | reddit.com/r/ruby | 2021-04-02
I've been using the lockbox gem to encrypt specified attributes.
Identify database issues before they hit production.Project mention: 15 Resources I Learned Something From This Weekend | dev.to | 2020-09-27
gregnavis / active_record_doctor
SQL Server Adapter For Rails
Adds additional postgres functionality to an ActiveRecord / Rails application
Polo travels through your database and creates sample snapshots so you can work with real world data in development.
What are some of the best open-source ActiveRecord projects? This list will help you:
|1||Ruby on Rails||48,553|
|9||SqlKata Query Builder||1,915|