On Martes, 28 de Diciembre de 2010 18:20:27 RFine escribió:
> Got that fixed... not sure why but had an extra parm in
> render_action_link... now fixed.
> 
> However, still have the same problem with all models not returning
> their names.  Same as before but with latest version.

You should use master branch with rails 2.3.8 due to i18n change. You will 
have to update your helpers override, second argument is no more the field 
name, is an options hash.

> 
> Russell
> 
> On Dec 28, 9:13 am, RFine <[email protected]> wrote:
> > I just updated to the latest 2.3 release of AS, and all my pages
> > return this error:
> > 
> > ActionView::TemplateError (wrong number of arguments (4 for 3)) on
> > line #8 of vendor/plugins/active_scaffold/frontends/default/views/
> > _list_header.html.erb:
> > 5:       <% next if skip_action_link(link) -%>
> > 6:        <% next if link.action == 'new' && params[:nested].nil? &&
> > active_scaffold_config.list.always_show_create %>
> > 7:        <% next if link.action == 'show_search' &&
> > active_scaffold_config.list.always_show_search %>
> > 8:       <%= render_action_link(link, new_params) -%>
> > 9:     <% end -%>
> > 10:
> > 11:     <%= loading_indicator_tag(:action => :table) %>
> > 
> > Now I'm really down the rabbit hole ;(.
> > 
> > R
> > 
> > On Dec 28, 8:39 am, David Cato <[email protected]> wrote:
> > > RFine wrote ...
> > > 
> > > > OK, I also just noticed that when I add a model, the title is:
> > > > 
> > > > Create {{model}}
> > > > 
> > > > However, it does actually work.  Something is very odd here...
> > > > 
> > > > Ever seen anything like this?
> > > 
> > > There were some I18n changes between Rails 2.3.5 and 2.3.8 which
> > > included changing replacable params in locale files from {{param}}
> > > to %{param}.
> > > 
> > > Make sure you're using the latest version of AS, which has updated
> > > locale files, with Rails 2.3.8.
> > > 
> > > --
> > > David Cato

-- 
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].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to