25 个仓库
Plugins for auditing, versioning, and data management.
Explore 25 awesome GitHub repositories matching part of an awesome list · ORM Extensions. Refine with filters or upvote what's useful.
Acts-as-taggable-on 是一个用于 Ruby on Rails 应用程序的关系型数据库标签库。它提供了一个将自定义标签与数据库记录关联的系统,以实现内容分类和过滤。 该库具有上下文标签框架,允许单个记录为不同目的维护不同的标签集。它还包括一个多租户标签系统,将标签限定在特定的账户或组中,以确保数据隐私。 该工具支持基于标签的记录检索、通过精确匹配或排除进行搜索,以及计算集合中的标签频率。它还支持基于共享标签发现相关对象,并跟踪标签所有权以区分全局标签和用户特定标签。
Enables custom tagging with dynamic contexts.
ActiveRecord Import 是一个用于通过单条或批量查询将大型数据集插入数据库的库。它作为一个批量数据导入器和 SQL 批量插入工具,旨在最大限度地减少查询开销并提高写入性能。 该项目包含一个 Upsert 引擎,通过更新现有记录或忽略重复项来处理唯一约束冲突。它还具有递归关联导入器,允许在单次操作中插入父记录及其嵌套的子关联。 该库提供了一个预插入验证层,用于在提交数据前验证记录有效性并报告失败。它通过将数据集拆分为批次来管理大规模数据迁移,以控制内存使用并避免数据库包大小限制。 该工具提供包含成功计数和记录标识符的结果摘要,以及用于数据批次的进度跟踪。
Bulk inserts data into databases efficiently.
Ancestry is a materialized path tree library for managing hierarchical data models in relational databases. It provides a framework for organizing records into tree structures, allowing for the efficient retrieval of ancestors and descendants through path-based storage. The project distinguishes itself through specialized tools for maintaining tree integrity and transforming data. It includes a tree integrity manager to handle orphaned nodes and a JSON tree serializer that converts hierarchical database records into nested hashes or arrays for API responses. The library covers a broad range
Organizes models into trees using materialized paths.
Audited is a Ruby on Rails audit log library and change data capture framework. It tracks model changes by recording previous and current attribute values during create, update, and destroy operations to maintain a complete history of database modifications. The system functions as a database versioning tool and user activity tracker. It allows for the retrieval of historical record states by timestamp or index, enables reverting models to previous versions, and associates record modifications with specific user identities and remote IP addresses. The library includes capabilities for sensit
Logs all changes to models for auditing purposes.
actsasparanoid for Rails 5, 6 and 7
Lightweight re-implementation of soft-delete functionality.
Database multi-tenancy for Rack (and Rails) applications
Provides multi-tenancy support for Rails applications.
🃏🗑 Soft deletes for ActiveRecord done right
Adds conventions for flagging records as discarded.
Attach comments to ActiveRecord's SQL queries
Attaches application context to database queries.
Enumerated attributes with I18n and ActiveRecord/Mongoid support
Provides enumerated attributes with I18n support.
Database changes log for Rails
Maintains a database change log for Rails.
Just the right amount of Rails eager loading
Automates eager loading for ActiveRecord queries.
Reputation engine for Rails apps
Adds reputation systems like badges and points.
An actsassortable/actsaslist replacement built for Rails 4+
Optimized row sorting library for ActiveRecord.
Handle unread records and mark them as read with Ruby on Rails
Manages read and unread status for objects.
Simple positioning for Active Record models.
Simple relative positioning for ActiveRecord models.
Multi-user non-linear history tracking, auditing, undo, redo for mongoid.
Tracks history and auditing for Mongoid models.
Easy multi-tenanting for Rails5 (or Rails4) Devise
Non-invasive multi-tenancy with authentication support.
This gem implements a flexible time-ordered activity feeds commonly used within social networking applications. As events occur, they are pushed into the Feed and distributed to all users that need to see the event. Upon the user visiting their "feed page", a pre-populated ordered list of events is returned by the library.
Scalable social activity feed backed by Redis.
Collection of ActiveModel/ActiveRecord validators
Collection of pre-tested model validations.
A tree structure for Mongoid documents using the materialized path pattern
Tree structure implementation for Mongoid documents.