hi i have generated page with scaffolding but i don want to show all
column which are showed by default using scaffolding utility . is there
any way ? to view customize display tables columns apart from this in
show method or view ?
waiting for answer ..........
hi i have generated page with scaffolding but i don want to show all
column which are showed by default using scaffolding utility . is
there
any way ? to view customize display tables columns apart from this in
show method or view ?
waiting for answer ..........
Just remove the appropriate bits from the view file.
Ah you're still using the old scaffold, in which case it's not that
easy. I suppose you could overide content_columns not to return the
columns you don't want to display.
hi i have generated page with scaffolding but i don want to show all
column which are showed by default using scaffolding utility . is
there
any way ? to view customize display tables columns apart from this in
show method or view ?
waiting for answer ..........
Just remove the appropriate bits from the view file.
Fred
just use this
<% for about in @abouts = About.find(:all) %>
<%= about.field %>
<% end %>
you access specific field (name,......). i think this may help you.