I hate these kinds of problems. I've no idea where to start, to be honest... the only difference between console and http is that you've got the controllers and views now in the mix - but we're getting the expected behaviour in the more complex of the two situations.
Sorry, wish I had a better idea on how to help. -- Pat On 05/06/2010, at 1:03 AM, Dan Hess wrote: > Ok this is very strange... when I run from the console, I get these > missing methods, but if I run the server and just browse the webpages, > it seems to work fine! > > Any insight into this? > > On Jun 3, 9:18 pm, Pat Allan <[email protected]> wrote: >> Hi Dan >> >> I just created a test app and couldn't reproduce this - either within >> production env, or in dev with cache_classes set to true. I am using 1.3.16, >> though... try upgrading and see if that helps? Though can't think of any >> changes I've made that would have such an effect... >> >> If you can create a test app that reproduces the issue, please send it my >> way. Whether that's worth the effort is up to you, though. >> >> -- >> Pat >> >> On 04/06/2010, at 5:40 AM, Dan Hess wrote: >> >>> Hi everyone, >> >>> I am having trouble using sphinx scopes in Rails. When I view my >>> classes using script/console in development mode (cache_classes is set >>> to false), I am able to access the scopes just fine, but when I enter >>> staging mode (cache_classes is set to true), the scopes no longer >>> appear on my class. >> >>> I have verified as well that when I change cache_classes to false in >>> my staging environment, everything works as intended. >> >>> I am using Rails 2.3.5, thinking-sphinx 1.3.15 gem, and sphinx 0.9.9 >>> r2117 on Ubuntu 9.10 >> >>> Thanks for your help! >>> - Dan >> >>> -- >>> 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 >>> athttp://groups.google.com/group/thinking-sphinx?hl=en. > > -- > 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. > -- 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.
