aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-07-16 21:05:58 +0200
committerGitHub <noreply@github.com>2017-07-16 21:05:58 +0200
commita5b14a4e3486d171e6cdca699fc0d8afc38ef039 (patch)
tree2bcced1f87743bcdce152600087796727ed401ad /railties/lib/rails
parent720cf7fccc46f8f79a2d9ba3403f181074fb2072 (diff)
parentc98a641ff402d3ca5b754f4621a0764f33eab155 (diff)
downloadrails-a5b14a4e3486d171e6cdca699fc0d8afc38ef039.tar.gz
rails-a5b14a4e3486d171e6cdca699fc0d8afc38ef039.tar.bz2
rails-a5b14a4e3486d171e6cdca699fc0d8afc38ef039.zip
Merge pull request #29782 from y-yagi/follow_up_29699
Set `represent_boolean_as_integer` via `configuration`
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt
index f2df0d1e9f..25dcddb27a 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt
+++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt
@@ -24,4 +24,4 @@
# Store boolean values are in sqlite3 databases as 1 and 0 instead of 't' and
# 'f' after migrating old data.
-# ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer = true
+# Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true