Rails 6.1: Add delegated type to Active Record | Heykuki News