Rails database boolean values
I believe that you might be looking for ActiveRecord::Base.connection.quoted_true
This returns native boolean values in quotes, e.g. '1' for SQL Server or MySQL, and 't' for PostgreSQL or SQLite
I believe that you might be looking for ActiveRecord::Base.connection.quoted_true
This returns native boolean values in quotes, e.g. '1' for SQL Server or MySQL, and 't' for PostgreSQL or SQLite