Flowdock
method

emulate_booleans

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: AbstractMysqlAdapter
emulate_booleans public

By default, the MysqlAdapter will consider all columns of type tinyint(1) as boolean. If you wish to disable this emulation (which was the default behavior in versions 0.13.1 and earlier) you can add the following line to your application.rb file:

ActiveRecord::ConnectionAdapters::Mysql[2]Adapter.emulate_booleans = false
Show source
Register or log in to add new notes.