On Lunes, 1 de Marzo de 2010 14:48:29 marcel escribió:
> Hi,
>
> When I use the ActiveScaffold with Globalize2, I get the following
> failure, when I want to create a new Record:
>
> ActionView::TemplateError (Could not
> find ::Product::TranslationsController
> or ::Product::TranslationController or Product::TranslationsController
> or Product::TranslationController) on line #10 of vendor/plugins/
> active_scaffold/frontends/default/views/_form_association.html.erb:
I haven't used globalize2 but I think you have to exclude translations
association from config.columns
> 7: -%>
> 8: <h5><%= column.label -%> (<%=
> link_to_visibility_toggle(:default_visible => !column.collapsed) -%>)</
> h5>
> 9: <div <%= 'style="display: none;"' if column.collapsed -%>>
> 10: <%= render :partial => subform_partial_for_column(column), :locals
> => {:column => column, :parent_record => parent_record, :associated =>
> associated} %>
> 11: </div>
> 12: <% @record = parent_record -%>
>
> Thanks for your help,
> Marcel
--
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.