-
-
Save defp/e34ebae338b17ea4edb5 to your computer and use it in GitHub Desktop.
emulate_booleans
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# config/application.rb | |
# | |
require 'active_record/connection_adapters/mysql2_adapter' | |
module App | |
class Application < Rails::Application | |
ActiveRecord::ConnectionAdapters::Mysql2Adapter.emulate_booleans = false | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment