Casecommons/pg_search — Issue #27: Required timestamps in rails 3.2
Author: jede
Created: 2012-02-15 09:40:27+00:00
State: open

Since this commit https://github.com/rails/rails/commit/3dbedd2823ff6c8a1f2f078ae9df9c6ceb275e1b

Rails makes timestamps required by default, this makes the rake task pg_search:multisearch:rebuild break since it doesn't add timestamps.

Could a solution be to instead of doing this with SQL just loop through all the models and use the update_pg_search_document method to rebuild? This would also solve the issue with the rake task only being able to handle AR columns...