Sha256: 75c20073ef8aadb762ad2137a4734c620b48b34f56da5f92c2524c1195950ad0
Contents?: true
Size: 1.08 KB
Versions: 23
Compression:
Stored size: 1.08 KB
Contents
Selected Locale: en Selected Locale: en Selected Locale: en Selected Locale: en [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 11]] Selected Locale: en Selected Locale: en DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer` set to false is deprecated. SQLite databases have used 't' and 'f' to serialize boolean values and must have old data converted to 1 and 0 (its native boolean serialization) before setting this flag to true. Conversion can be accomplished by setting up a rake task which runs ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1) ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0) for all models and all boolean columns, after which the flag must be set to true by adding the following to your application.rb file: Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true (called from <top (required)> at /home/gabrieletassoni/Git/rails/thecore_project/thecore/test/dummy/config/environment.rb:5)
Version data entries
23 entries across 23 versions & 1 rubygems