method

represent_boolean_as_integer=

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

Method deprecated or moved

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

represent_boolean_as_integer=(value)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 79
      def self.represent_boolean_as_integer=(value) # :nodoc:
        if value == false
          raise "`.represent_boolean_as_integer=` is now always true, so make sure your application can work with it and remove this settings."
        end

        ActiveSupport::Deprecation.warn(
          "`.represent_boolean_as_integer=` is now always true, so setting this is deprecated and will be removed in Rails 6.1."
        )
      end