Sha256: e18756453fcd9099100662111a66292f022b4bb972f2b54accdd1395b1116a03

Contents?: true

Size: 914 Bytes

Versions: 7

Compression:

Stored size: 914 Bytes

Contents

# typed: strong

class ActiveRecord::Base < Object
  extend T::Sig

  sig { returns(T::Boolean) }
  def self.table_exists?; end

  sig { returns(T::Hash[String, T::Hash[String, T.untyped]]) }
  def self.defined_enums; end

  sig { returns(T::Hash[String, T.untyped]) }
  def self.columns_hash; end

  sig { returns(T::Hash[String, T.untyped]) }
  def self.reflections; end

  sig { returns(T.untyped) }
  def self.connection; end

  sig { returns(T::Boolean) }
  def self.abstract_class?; end

  sig { returns(T::Hash[String, T.untyped]) }
  def self.attachment_reflections; end
end

class ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter;
  def klass; end
end

class ActiveModel::Validations::PresenceValidator
  sig { returns(T::Hash[T.untyped, T.untyped]) }
  attr_reader :options
end

module ActiveModel::Validations
  module ClassMethods
    def validators_on(*attributes); end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sorbet-rails-0.7.2 lib/sorbet-rails/dependent_gem_rbis/activerecord.rbi
sorbet-rails-0.7.1 lib/sorbet-rails/dependent_gem_rbis/activerecord.rbi
sorbet-rails-0.7.0 lib/sorbet-rails/dependent_gem_rbis/activerecord.rbi
sorbet-rails-0.6.5.1 lib/sorbet-rails/dependent_gem_rbis/activerecord.rbi
sorbet-rails-0.6.5 lib/sorbet-rails/dependent_gem_rbis/activerecord.rbi
sorbet-rails-0.6.4 lib/sorbet-rails/dependent_gem_rbis/activerecord.rbi
sorbet-rails-0.6.3 lib/sorbet-rails/dependent_gem_rbis/activerecord.rbi