Rails: Add delegated type to Active Record | Heykuki News