Sha256: 180057eea941e74a51e22c24152be2b78b0a1d790cb3ae2986dbbfffecea08fa
Contents?: true
Size: 267 Bytes
Versions: 11
Compression:
Stored size: 267 Bytes
Contents
class Visualization < ActiveRecord::Base belongs_to :query_version has_one :query, through: :query_version has_many :query_roles, through: :query scope :with_role, ->(role) { references(:query).includes(:query_roles).where(query_roles: { role: role }) } end
Version data entries
11 entries across 11 versions & 1 rubygems