search for: website_controller

Displaying 1 result from an estimated 1 matches for "website_controller".

2007 Dec 22
3
Formatting looping display from mySQL table
...t me in the right direction :) I have a mysql table "websites". In it I have the following columns - Name, Url, Banner, Description I created "ruby script/generate controller website" (& the model too) and inserted model :website scaffold :website have not changed the website_controller.rb (well that''s not strictly true I tried but couldn''t get it to work so reverted back). Website/list.rhtml is also the default scaffold build. So I get a nice view of the content of the websites table, however I want to format this output into something useful. Something like...