On Wed, Mar 17, 2010 at 5:28 AM, Sergio Cambra .:: entreCables S.L. ::. <
[email protected]> wrote:

> On Lunes, 15 de Marzo de 2010 23:23:10 Nick Rogers escribió:
> > 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/70d85fd6819258e0d19
> >cf95b892f67cf66c51cd7
> >
> > But the method clearly accepts 3 arguments, so I am confused... Any
> ideas?
> > Thanks.
>
> Are you using another plugin? Check render_action_link is not overrided in
> your helpers or other plugins.
>

Yeah that was it. I am using a hacked-up fix of the old activescaffold-ext
plugin which does an "alias_method_chain :render_action_link, :macro".
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.er
> >b: 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/vi
> >ews/_list_record.html.erb:15:in
> >
> `_run_erb_vendor47plugins47active_scaffold47frontends47default47views47_lis
>
> >t_record46html46erb_locals_dont_show_calculations_hidden_list_record_list_re
> >cord_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/vi
> >ews/_list_record.html.erb:10:in
> >
> `_run_erb_vendor47plugins47active_scaffold47frontends47default47views47_lis
>
> >t_record46html46erb_locals_dont_show_calculations_hidden_list_record_list_re
> >cord_counter_object'
>
> --
> Sergio Cambra .:: entreCables S.L. ::.
> Mariana Pineda 23, 50.018 Zaragoza
> T) 902 021 404 F) 976 52 98 07 E) [email protected]
>
> --
> 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]<activescaffold%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/activescaffold?hl=en.
>
>

-- 
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.

Reply via email to