class Tag < BaseModel table do column name : String column description : String? belongs_to namespace : TagNamespace has_many post_tags : PostTag has_many posts : Post, through: :post_tags end end