i have a table with 5 columns, but i only want to display 3 columns with
“list.rhtml”.
what´s the best way to do this?
i have a table with 5 columns, but i only want to display 3 columns with
“list.rhtml”.
what´s the best way to do this?
patrick wrote:
i have a table with 5 columns, but i only want to display 3 columns with
“list.rhtml”.what’s the best way to do this?
If the list.rhtml is the standard generated scaffolding, try outputting
the three columns directly (via item.colname) instead of using the for
loop.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs