method

create_boolean_domain

rails latest stable - Class: ActiveRecord::ConnectionAdapters::FirebirdAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

create_boolean_domain()
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/firebird_adapter.rb, line 692
        def create_boolean_domain
          sql = "CREATE DOMAIN \#{boolean_domain[:name]} AS \#{boolean_domain[:type]}\nCHECK (VALUE IN (\#{quoted_true}, \#{quoted_false}) OR VALUE IS NULL)\n"
          execute sql rescue nil
        end