Hey Erik,

first of all, you can usually safely ignore deprecation warnings unless you're 
updating to a newer version of Rails.

Second, from what I can see, Pat has changed this in a commit that was part of 
version 1.3.18 (see 
https://github.com/freelancing-god/thinking-sphinx/commit/8fd73ed3a525b78cb94d5cfdd7a43865cb3f2ff5
 and http://rubygems.org/gems/thinking-sphinx/versions). I suggest you upgrade 
to either that version or any later version of the 1.3.x or even 1.4.x branch.

Hope that helps,
- Clemens

On Feb 18, 2011, at 10:11 PM, erik wrote:

> Gem version 1.3.11
> Rails 2.3.8
> 
> I am still getting this warning:
> DEPRECATION WARNING: metaclass is deprecated and will be removed from
> Rails 2.3 (use singleton_class instead). (called from
> add_sphinx_attributes at /Users/erik/work/carwoo/viper/vendor/gems/
> thinking-sphinx-1.3.11/lib/thinking_sphinx/search.rb:293)
> 
> What is the best way to fix this?
> 
> Thanks.
> Erik Landerholm
> 
> -- 
> 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.

Reply via email to