Sha256: aa0c91eadb51becbc4d21d9cd81b77a4ff18a0da2ee0de6b09e35d888a3d6b0e
Contents?: true
Size: 234 Bytes
Versions: 64
Compression:
Stored size: 234 Bytes
Contents
module SubjModels module SharedScopes extend ActiveSupport::Concern included do scope :with_photos, -> { joins(:document_file).where{{:document_file => {file_data.not_eq => nil}}} } end end end
Version data entries
64 entries across 64 versions & 2 rubygems