Yes, you're absolutely correct (I even looked at the API after posting
this last night). I tried a few variations, and did some light googling,
but didn't find a way to get it iterate over all fields.
Can I just change that one line so that it shows all of the fields when
doing any of the CRUD actions?
Scaffolding just iterates over content_columns. If you look a the doc
for content_columns you'll see that it doesn't include columns
ending in
_id
Yes, you're absolutely correct (I even looked at the API after posting
this last night). I tried a few variations, and did some light
googling,
but didn't find a way to get it iterate over all fields.
Can I just change that one line so that it shows all of the fields
when
doing any of the CRUD actions?
Well you've still got a content_columns at the top of your page. Other
than that I don't see why it wouldn't work (although you wouldn't see
anything if the _id columns were null)
Doh, fixed that; thanks. The item_id field for a row in the feeds table
will be null until I can edit that field; for instance, by displaying the
field.
Won't it show: "item_id: NULL" as it does for other fields?
Well you've still got a content_columns at the top of your page.
Other
than that I don't see why it wouldn't work (although you wouldn't see
anything if the _id columns were null)
Doh, fixed that; thanks. The item_id field for a row in the feeds
table
will be null until I can edit that field; for instance, by
displaying the
field.
Won't it show: "item_id: NULL" as it does for other fields?
no. It would show nil.to_s (ie blank), although you should of course
get the column headings.