Code first:
create_table :users do |t| ... t.boolean :is_active, :default => true ... end
Now, here is my issue - I am creating a
I believe that you might be looking for ActiveRecord::Base.connection.quoted_true
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