Hi, well, instead of using conditions you might try to set a default search condition in case no search condition is currently set.
-- Volker On 1 Jun., 04:10, Richard Zheng <[email protected]> wrote: > Hi, > > I am trying to search in an embedded scaffolds which uses something like > this, > > <%= render :active_scaffold => "customers", :conditions => > ["`customers`.id in (?)", [2, 26, 71]] %> > > When a search runs, it only searches customers matching this condition. Is > there a way to match all customers and get rid of the condition during > search? > > Thanks, > Richard -- 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.
