upgrade tire to 0.5.2, update use of deprecated "text" search api