Ruby on rails ActiveAdmin属性表行:显示关联的对象,但不显示指向该对象的链接';s显示页面

Ruby on rails ActiveAdmin属性表行:显示关联的对象,但不显示指向该对象的链接';s显示页面,ruby-on-rails,activeadmin,Ruby On Rails,Activeadmin,我有一个自定义的ActiveAdmin页面,其中有一个显示一系列属性的show操作。我添加了一行以显示关联的对象,但不希望它链接到该对象的显示页面。如何抑制链接?示例如下: ActiveAdmin.register Thingy do show do |thingy| attributes_table do row :name row :date row :associate do thingy.associate en

我有一个自定义的ActiveAdmin页面,其中有一个显示一系列属性的
show
操作。我添加了一行以显示关联的对象,但不希望它链接到该对象的显示页面。如何抑制链接?示例如下:

ActiveAdmin.register Thingy do
  show do |thingy|
    attributes_table do
      row :name
      row :date
      row :associate do
        thingy.associate
      end
    end
  end
end

name
date
行显示为“Label:Value”。
associate
行也有,但“Value”是指向特定associate对象的显示页面的链接,我不需要。

如果您尝试
row(:associate){thingy.associate.name}
?@JoshKovach您是天才还是我是白痴。不管怎样,它都奏效了