我正在使用ejholmes Active_admin编辑器,它工作正常,但在我的活动管理员索引中,我看到带有标签的html代码,而不是正确的输出。我在我的观看中使用了.html_safe,但这里是我的主动管理员的posts.rb
...
index.do
column :id
column "Titolo", :title
column "Corpo news", :body
column "Creato il", :created_at
column "Modificato il", :updated_at
column :link
column "Link Immagine", :image_url
bool_column :attivo
default_actions
end
...
我想要呈现我的“Corpo新闻”专栏。 谢谢你的帮助!