kommen/rails — comment on commit 6e86ad9f75c4bcc1e84f4b0e7451c60a63508c20
File:  line 0
By tommeier:

Yup. It changes the query beyond recognition when a period exists in the query.

https://github.com/rails/rails/blob/3-0-stable/activerecord/lib/active_record/association_preload.rb#L394

I've just gsubbed periods before sending it to pg_search for now.