RE: Newbie Question acts_as_solr

2006-12-19 Thread Mike Beccaria
Erik Awesome. Debug is helpful. I also found that for awhile I was using <% instead of <%= and that caused some problems :) You've been very helpful! Thank you. Mike -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 11:07 AM To: solr-user@l

Re: Newbie Question acts_as_solr

2006-12-19 Thread Erik Hatcher
On Dec 18, 2006, at 8:36 PM, Mike Beccaria wrote: Another question... The controller: @query= Movie.find_by_solr(params[:squery]) Then in the view: <%= @query %> Debugging tip: use <%= debug @query %> to see exactly what you got. Produces 2 hits (as per count_by_solr) that look like this : "