class ActiveAdmin::Views::AttributesTable
def content_for_attribute(attr)
def content_for_attribute(attr) if attr.to_s =~ /^([\w]+)_id$/ && @record.respond_to?($1.to_sym) content_for_attribute($1) else @record.send(attr.to_sym) end end
def content_for_attribute(attr) if attr.to_s =~ /^([\w]+)_id$/ && @record.respond_to?($1.to_sym) content_for_attribute($1) else @record.send(attr.to_sym) end end