tested on sunspot_rails 2.1.0