Hi,
take a look at finder.rb
extend StringComparators hash as follows:
StringComparators = {
:not_contains => '%?%',
:contains => '%?%',
:begins_with => '?%',
:ends_with => '%?'
}
override def condition_for_range to apply correct search condition for
not_contains.
Hope that helps.
--
Volker
On Jun 7, 2:15 am, Hernan Astudillo <[email protected]> wrote:
> is it set to :full ?
> config.field_search.text_search = :full
> full is wildcard search: '%?%'
>
>
>
>
>
>
>
> On Mon, Jun 6, 2011 at 5:03 PM, lmorris99 <[email protected]> wrote:
> > Yes, but that's not the same as DOES NOT CONTAIN.
> > CONTAINS implements a wildcard search;
> > != does not.
> > At least that's what it seems like when I try it.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ActiveScaffold : Ruby on Rails plugin" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/activescaffold/-/dk0zX0lFUi1ybVFK.
> > 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.
--
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.