fixed case sensitive search, updated Rails version to fix security issues