Relatively new to RoR (but not programming) - I’ve got a basic rails
app against a legacy oracle database. One of the columns in a table
is called ‘suppress’. Whenever I use the scaffold listing action it
bombs trying to fetch the value in that column. If I change the name
of the column, all is well. I can’t find anything on suppress being a
reserved column name. Any ideas? The specific error is:
Showing c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
action_controller/templates/scaffolds/list.rhtml where line #13
raised:
no block given
Extracted source (around line #13):
10: <% for entry in instance_variable_get("@#{@scaffold_plural_name}")
%>
11:
12: <% for column in @scaffold_class.content_columns %>
13:
14: <% end %>
15:
“show#{@scaffold_suffix}”, :id => entry %>
16:
“edit#{@scaffold_suffix}”, :id => entry %>