cost 61 ms
Rails 自定义 ActiveRecord::Type 在 has_many 中使用 `class_name` 时失败:通过关联 - Rails custom ActiveRecord::Type fails when using `class_name` in has_many :through association

我在 Rails 应用程序中使用KSUID作为 UUID 的替代品。 michaelherold/ksuid-ruby将 KSUID 移植到 Ruby 并将它们实现为::ActiveRecord::Type::String 。 除了使用has_many :through associations时 ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM