any ideas or suggestions on how to tackle this problem? On Mon, Feb 23, 2009 at 1:23 PM, Jerome Riga <[email protected]>wrote:
> yes, sure > http://pastie.org/397367 > I pasted the rake task and the class definition > > > On Mon, Feb 23, 2009 at 1:14 PM, Pat Allan <[email protected]>wrote: > >> >> Hi Jerome >> >> Can you show us exactly what your task definition is? >> >> -- >> Pat >> >> On 23/02/2009, at 11:58 PM, [email protected] wrote: >> >> > >> > Hi all, >> > >> > I'm trying to implement a saved search functionality that would >> > basically run a rake search task every day with a cronjob. >> > >> > I got the search bit working fine in the console doing: >> > SavedSearch.all.each { |s| s.do_search } >> > with prepared data returns me what I expect. >> > >> > However, when I run the rake task which does the same thing and with >> > the same prepared data I get nothing back. >> > >> > Does anyone has encounter similar problem? >> > I'm clueless about the reasons why this is happening any help would be >> > greatly appreciated >> > >> > Cheers, >> > >> > Jerome >> > >> > > >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" 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/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
