On Lunes, 20 de Septiembre de 2010 15:36:24 JaimeMM escribió:
> Yep, I was just missing to exclude :search :)
>
Are using master branch? Is it latest version? Because that line is different
in master branch, maybe is a fixed bug. Try to update AS.
> Now I'm getting
>
> ActionView::TemplateError (undefined local variable or method
> `field_search_params' for #<ActionView::Base:0xb6ddff48>) on line #27
> of vendor/plugins/active_scaffold/frontends/default/views/
> _field_search.html.erb:
> 24: <label for="<%= "search_#{column.name}" %>"><%=
> column.label %></label>
> 25: </dt>
> 26: <dd>
> 27: <%= active_scaffold_search_for(column) %>
> 28: </dd>
> 29: </dl>
> 30: </li>
>
> vendor/plugins/active_scaffold/frontends/default/views/
> _field_search.html.erb:27
> vendor/plugins/active_scaffold/frontends/default/views/
> _field_search.html.erb:16
>
> Thanks for the reply,
>
> On 20 sep, 09:26, "Sergio Cambra .:: entreCables S.L. ::."
>
> <[email protected]> wrote:
> > On Domingo, 19 de Septiembre de 2010 21:33:46 JaimeMM escribió:
> > > Hi,
> > >
> > > I wanted to override the search view for specific fields, instead of
> > > having the plain input text, so I tried using the helper functions
> > > <column_name>_search_column(record, options) , but no luck at all.
> > >
> > > Am I missing something else?
> >
> > Are you using field_search?
> >
> > --
> > Sergio Cambra .:: entreCables S.L. ::.
> > Mariana Pineda 23, 50.018 Zaragoza
> > T) 902 021 404 F) 976 52 98 07 E) [email protected]
--
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.