Update lib/redis/search/base.rb

modify to fit rails2.3