Sha256: c5184a11082e9ddbee6d8f4744655f023a1d60eebd48b38a9d653ea5206272e1
Contents?: true
Size: 214 Bytes
Versions: 70
Compression:
Stored size: 214 Bytes
Contents
class Digit < ActiveRecord::Base belongs_to :appendage has_one :user, :through => :appendage scope :has_no_value, -> { where(:value => nil) } scope :has_value, -> { where("digits.value IS NOT NULL") } end
Version data entries
70 entries across 70 versions & 1 rubygems