module Avram::Polymorphic

Overview

Helpers for defining polymorphic associations

Direct including types

Defined in:

avram/polymorphic.cr

Macro Summary

Macro Detail

macro polymorphic(polymorphic_name, associations, optional = false) #

Save a comment for this video

video = VideoQuery.first Comment::SaveOperation.create!(video_id: video.id)


[View source]