Peter Fitzgibbons
2006-Aug-18 14:40 UTC
[Rails] Why does scaffolding''s list.rhtml use "foo.send(column.name)" ?
HI all, I"m using 1.1.6 script/generate scaffolding. Why does the view/foos/list.rhtml use "foo.send(column.name)" to display the contents of each column? I had to change this to "foo[column.name]" to get the display right in a couple of models. Specifically, one model has a column named ''display'', is that conflicting with something internally to AR ? Thanks for your advice! -- ------------------------------ Apple MacBook. Black. It''s the new White! ------------------------------ Peter Fitzgibbons