I'm trying to upgrade my version of active_scaffold from master branch from about 2-3 months ago to the latest rails-2.3 branch. I am getting this error and after debugging for a while I am not able to figure out where the problem is.
The problem seems to be something to do with the changes made to the render_action_link method in this commit: http://github.com/activescaffold/active_scaffold/commit/70d85fd6819258e0d19cf95b892f67cf66c51cd7 But the method clearly accepts 3 arguments, so I am confused... Any ideas? Thanks. Here is the exception followed by part of the trace. Using rails 2.3.5, active_scaffold rails-2.3 branch from today. ActionView::TemplateError (wrong number of arguments (3 for 2)) on line #15 of vendor/plugins/active_scaffold/frontends/default/views/_list_record.html.erb: 12: <% column_value = authorized ? get_column_value(record, column) : active_scaffold_config.list.empty_field_text -%> 13: 14: <td class="<%= column_class(column, column_value) %>" > 15: <%= authorized ? render_list_column(column_value, column, record) : column_value %> 16: </td> 17: <% end -%> 18: <td class="actions"> /Users/nick/rxg/console/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/list_column_helpers.rb:69:in `render_action_link' /Users/nick/rxg/console/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/list_column_helpers.rb:69:in `render_list_column' /Users/nick/rxg/console/vendor/plugins/active_scaffold/frontends/default/views/_list_record.html.erb:15:in `_run_erb_vendor47plugins47active_scaffold47frontends47default47views47_list_record46html46erb_locals_dont_show_calculations_hidden_list_record_list_record_counter_object' /Users/nick/rxg/console/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/action_columns.rb:77:in `each' /Users/nick/rxg/console/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/action_columns.rb:64:in `each' /Users/nick/rxg/console/vendor/plugins/active_scaffold/frontends/default/views/_list_record.html.erb:10:in `_run_erb_vendor47plugins47active_scaffold47frontends47default47views47_list_record46html46erb_locals_dont_show_calculations_hidden_list_record_list_record_counter_object' -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
