As a followup, I found it difficult to deal with acts_as_sphinx in
multiple rails envs, so I switched over to thinking_sphinx. Lo and
behold, my search code got slightly more simpler than the 11 line
behemoth listed above.

def search
  @application_forms = ApplicationForm.search(params
[:query], :conditions => {:complete => true}, :page => (params[:page]
|| 1))
end

Thanks for a great plugin Pat! You're a frickin' legend.

Kim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to