I’m a noob to RoR. I have everything setup but can’t figure out to get
the list display as I would like. I’m sure this is very simple stuff. I
just haven’t figured it out yet
I hope someone can point 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)
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 a looping version of this.
It seems the default view grabs everything in one block where as I want
to grab and use the individual columns.
I don’t know enough of the terminology to to a search to find out how to
do such a thing and most of the tutorials I have gone through seem to
display the default scaffold views.
If someone can give me some pointers or even a link to a relevant
tutorial on how to set up such a thing I would be very grateful.