ruby on rails - Why doesn't my has_many association use table_for in ActiveAdmin? -


this image when want show name category association relationship:

http://i.stack.imgur.com/nxvij.png

this code:

column :categories |c|   table_for c.categories.all     column |category|       link_to category.name, [ :admin, category ]     end   end end 

i don't want use table_for, because has "table" don't want.

how do this?

you can list them out:

index   column :categories |c|     ul       c.categories.each |category|         li link_to(category.name, [:admin, category])       end     end   end end 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -