Sha256: fc8be12e7131b85c301711f994e657acd45f4107180fe75935206d7b121d4b2b
Contents?: true
Size: 262 Bytes
Versions: 5
Compression:
Stored size: 262 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) { joins(:query).includes(:query_roles).where(query_roles: { role: role }) } end
Version data entries
5 entries across 5 versions & 1 rubygems