activescaffold/active_scaffold — Issue #77: File column bridge bug
Author: ericbeland
Created: 2011-10-12 20:45:08+00:00
State: open

When the file_column plugin is used and a file_column field is displayed within an edit screen, the following error occurs:

ActionView::Template::Error (undefined local variable or method `custom_hidden_field_tag' for #<#:0x00000004290be0>):
5:

6:

7: <% unless local_assigns[:only_value] %>
8: <%=raw active_scaffold_input_for column, scope %>
9: <% else %>
10: <%= get_column_value(@record, column) %>
11: <%= hidden_field :record, column.association ? column.association.primary_key_name : column.name, active_scaffold_input_options(column, scope) -%>

This occurs because custom_hidden_field_tag is indeed not defined. It looks like this once was in the code. I forked and fixed this and am entering a pull request referencing this issue. Thanks!

Eric