Re: Re: Controller Search Strategy

Paul Harrington
Sun, 14 Feb 2010 02:15:02 -0000

Shai Shefer wrote:
> Hey Luke,
>
> Yeah - I''ve used search logic in the past.  I''m trying to
make search
> calls
> using ajax requests and as I understand it I can''t do that with
search
> logic
> (I may be wrong).

Take what I say with a grain of salt, as I haven''t actually used
Searchlogic... but as I understand it it basically just extends
ActiveRecord to automagically add a bunch of convenience named scopes,
and automatically uses those named scopes when you call search on the
the model''s class? It really doesn''t mess with
ActionController or
ActionView at all besides adding a couple helper methods, so I can''t
see
how it makes ajax anymore difficult. Have you actually tried using
Searchlogic with ajax and encountered problems? If so, what were they?
--
Posted via http://www.ruby-forum.com/.