sunspot/sunspot — pull request #325 by semanticart (2012-12-05 19:35:42+00:00)
Title: removing some warnings in ruby's verbose mode.

Thanks for the great library. In running my tests in verbose mode, I noticed a lot of warnings being thrown by sunspot (hundreds and hundreds of lines over my suite).

I cleaned those up, mostly by just deleting some unnecessary assignment and accessors and occasionally having to check if an ivar is defined.

I'm happy to make revisions if necessary. It'd be great for this library to be less noisy in verbose mode.

Thanks