I have 2 different classes inheriting from User but saving in the same table:
class User < ApplicationRecord
# devise stuff
end
class Participant < User
has_many :participant_stamps
has_many :stamps, through: :participant_stamps
end
class Vendor < User
has_many :vendor_stamps
has_many :stamps, through: :vendor_stamps
end
I'd like to add a VendorStamp using rails admin, but when I go to the tab, the relation is missing, which of course throws an error when trying to save

I also tried to explicitly tell it to look for a vendor (see below), but with no luck
RailsAdmin.config do |config|
config.model 'VendorStamp' do
list do
field :stamp
field :vendor
end
end
end
I have 2 different classes inheriting from User but saving in the same table:
I'd like to add a

VendorStampusing rails admin, but when I go to the tab, the relation is missing, which of course throws an error when trying to saveI also tried to explicitly tell it to look for a vendor (see below), but with no luck