Flowdock
method

emulate_booleans

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: AbstractMysqlAdapter
emulate_booleans public

By default, the Mysql2Adapter will consider all columns of type tinyint(1) as boolean. If you wish to disable this emulation you can add the following line to your application.rb file:

ActiveRecord::ConnectionAdapters::Mysql2Adapter.emulate_booleans = false
Show source
Register or log in to add new notes.