数据库验证 DatabaseValidations可帮助您保持数据库的一致性和更好的性能。 目前,它仅支持ActiveRecord。 您使用gem的次数越多,性能的提升就越多。 现在就试试! 安装 将
查找 LookupBy是ActiveRecord的线程安全查找表缓存,可减少标准化的麻烦。 可配置的查询列 缓存(直读,直写,最近最少使用(LRU)) 符号值 标准化值,例如在查找之前规范化UTF-8
起草 这个Ruby宝石增强了ActiveRecord::Base可以保存当前实例的草稿版本。 产品特点 gem将所有数据存储在一个单独的表中,不需要修改现有表 处理不同型号的草稿 它允许为未通过验证的
SwiftCop:表单验证工具,思路源自 ROR 的 Active Record。上手简单,代码可读性高,扩展性高。
acts_as_list, 用于管理列表的ActiveRecord插件 ActsAsList描述这个 acts_as 扩展提供了对列表中的多个对象进行排序和重新排序的功能。 具有指定的类的类需要在映射
活动记录服装店 内容 部分 目标 :jack-o-lantern: :ghost: :jack-o-lantern: 在本实验中,您将创建以下表格: costumes , costumes costu
storext, 在ActiveRecord之上,添加类型铸造和其他特性 Storext ActiveRecord::Store 允许你将数据像散列一样放在单个列中。 问题在于,当你检索这些值时,它们
本篇文章是对单一入口、MVC、ORM、CURD、ActiveRecord概念进行了详细的分析介绍,需要的朋友参考下
ActsAsInheritable 充当可继承对象是专门为Rails / ActiveRecord模型编写的Ruby Gem。 它应与“”或具有共享可继承属性的parent的模型一起使用。 这将使您可
RailsAsyncMigrations ActiveRecord::Migration扩展程序以一种简单直接的方式使您的迁移异步。 动机 创建该库的目的是为了帮助在技术水平上难以扩展的小型公司。 小