Fix .ruby-version.
Fixed escaping for quotes and reference to search query.
More force_encoding on link_to for last_name.