method
strict_strings_by_default
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::SQLite3Adapter
strict_strings_by_defaultpublic
Configure the SQLite3Adapter to be used in a strict strings mode. This will disable double-quoted string literals, because otherwise typos can silently go unnoticed. For example, it is possible to create an index for a non existing column. If you wish to enable this mode you can add the following line to your application.rb file:
config.active_record.sqlite3_adapter_strict_strings_by_default = true