This is my image when I want show name category with association relationship:
This is the code:
column :categories do |c|
table_for c.categories.all do
column do |category|
link_to category.name, [ :admin, category ]
end
end
end
I don't want to use table_for
, because it has "table" which I don't want.
How do I do this?