applied patch from https://github.com/square/rails/commit/b32bfa65fa99865b5c8ce2a0d39a8f6a3f20b0f5.patch in order to fix the (true/false) conversion to ('t'/'f') problem in Rails 4.0.12. Rails 4.1 stable should have already got this patch in place