Skip to content

Commit

Permalink
represent_boolean_as_integer is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
ahorek committed Feb 27, 2019
1 parent 92e7611 commit 584bc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_app_generator/config/initializers/sqlite3_fix.rb
@@ -1,3 +1,3 @@
if Rails.application.config.respond_to?(:active_record)
if Rails.application.config.respond_to?(:active_record) && Rails.version.to_f < 6
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
end

0 comments on commit 584bc7d

Please sign in to comment.