Module: TypedAssociation

Defined in:
lib/rails/on/sorbet/typed_relation.rb

Overview

A namespace for typed ActiveRecord association objects.

Defined Under Namespace

Modules: CollectionProxy, Relation

Class Method Summary collapse

Class Method Details

.CollectionProxy(val) ⇒ Object

rubocop:disable Naming/MethodName



32
# File 'lib/rails/on/sorbet/typed_relation.rb', line 32

def CollectionProxy(val) = val # rubocop:disable Naming/MethodName

.Relation(val) ⇒ Object

rubocop:disable Naming/MethodName



31
# File 'lib/rails/on/sorbet/typed_relation.rb', line 31

def Relation(val) = val # rubocop:disable Naming/MethodName