If that’s all fine, then it seems there’s a record being returned with the 
`sphinx_internal_class` attribute value of something other than one of those 
classes. You can test the SphinxQL query (that you’ll have spotted in the logs) 
yourself directly in Sphinx, if you connect via the mysql command-line tool:

mysql --host HOST --port PORT

The appropriate host and port are available as environment variables in your 
Heroku app.

> On 5 May 2015, at 6:37 pm, Pat Allan <[email protected]> wrote:
> 
> And then the next step is to confirm the method `unscoped` works on each of 
> those models from within the Heroku console :)
> 
>> On 5 May 2015, at 6:32 pm, Pat Allan <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> That all looks correct, but just confirming that it’s the same from the 
>> model’s perspective? e.g. Feature.superclass, Story.superclass, 
>> Post.superclass?
>> 
>>> On 5 May 2015, at 6:12 pm, Robbie Shepherd <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> yep all pretty standard active record models. In Heroku console:
>>> 
>>> irb(main):003:0> y ActiveRecord::Base.descendants
>>> ---
>>> - !ruby/class 'Delayed::Backend::ActiveRecord::Job'
>>> - !ruby/class 'PgSearch::Document'
>>> - !ruby/class 'AdminUser'
>>> - !ruby/class 'Feature'
>>> - !ruby/class 'Story'
>>> - !ruby/class 'Category'
>>> - !ruby/class 'Domain'
>>> - !ruby/class 'ErrorLogger'
>>> - !ruby/class 'Newsletter'
>>> - !ruby/class 'Subscriber'
>>> - !ruby/class 'SiteConfig'
>>> - !ruby/class 'Feed'
>>> - !ruby/class 'Deal'
>>> - !ruby/class 'Post'
>>> - !ruby/class 'Player'
>>> - !ruby/class 'Asset'
>>> - !ruby/class 'ActiveAdmin::Comment'
>>> - !ruby/class 'Punch'
>>> - !ruby/class 'FeatureStory'
>>> - !ruby/class 'Track'
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Thinking Sphinx" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected] 
>>> <mailto:[email protected]>.
>>> To post to this group, send email to [email protected] 
>>> <mailto:[email protected]>.
>>> Visit this group at http://groups.google.com/group/thinking-sphinx 
>>> <http://groups.google.com/group/thinking-sphinx>.
>>> For more options, visit https://groups.google.com/d/optout 
>>> <https://groups.google.com/d/optout>.
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Thinking Sphinx" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> To post to this group, send email to [email protected] 
>> <mailto:[email protected]>.
>> Visit this group at http://groups.google.com/group/thinking-sphinx 
>> <http://groups.google.com/group/thinking-sphinx>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/thinking-sphinx 
> <http://groups.google.com/group/thinking-sphinx>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to