Added support for sunspot rails condiguration change