Re: [Radiant] Sphinx Extension help

2009-11-16 Thread Josh French
When I run a search I'm getting the following error. undefined method `constantize' for nil:NilClass Hi John, This may help: http://jimneath.org/2009/11/09/thinkingsphinx-and-nil-results/ Best, Josh ___ Radiant mailing list Post:

Re: [Radiant] Sphinx Extension help

2009-11-16 Thread John Polling
Thanks Josh, Unfortunately this hasn't resolved the issue. It's weird that it works just fine on my local machine. John On 16 Nov 2009, at 14:43, Josh French wrote: When I run a search I'm getting the following error. undefined method `constantize' for nil:NilClass Hi John, This may

Re: [Radiant] Sphinx Extension help

2009-11-15 Thread John Polling
Hi, I've just moved my site to production and the Sphinx Search seems to be giving me problems When I run a search I'm getting the following error. undefined method `constantize' for nil:NilClass Has anyone else had this? Thanks John On 2 Nov 2009, at 21:03, Josh French wrote: John,

Re: [Radiant] Sphinx Extension help

2009-10-31 Thread John Polling
Hi Josh, Thanks for the info. In regards to the stack trace this is what I'm getting undefined method `request' for #Advert:0x1064e3340 /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/vendor/rails/activerecord/ lib/active_record/attribute_methods.rb:260:in `method_missing'

Re: [Radiant] Sphinx Extension help

2009-10-31 Thread John Polling
Actually I've managed to resolve this issue. The extension uses the following code in the radius tag tag 'results:each' do |tag| tag.locals.results.collect do |result| tag.locals.page = result tag.expand end.join(\n) end the variable tag.locals.page

Re: [Radiant] Sphinx Extension help

2009-10-30 Thread Josh French
This works fine as all the news gets indexed, however I'm struggling to search the news article. When I do a search terms that has NewsArticles in it I get the following error message Hi John, The Sphinx Search extension was initially built to work with arbitrary models but the actual

[Radiant] Sphinx Extension help

2009-10-29 Thread John Polling
Hi, I'm pretty new to Ruby and Radiant so please be gentle. I've installed the Sphinx Search extension for a site search facility. I need the search to include several other content models, such as NewsArticles, and not just Pages. I've so far added this to the env ironment.rb