Module: Concerns::Album::ClassMethods

Defined in:
app/models/concerns/album.rb

Instance Method Summary collapse

Instance Method Details

#validation_for_dateObject



32
33
34
# File 'app/models/concerns/album.rb', line 32

def validation_for_date
  validates_presence_of :date
end

#validation_for_titleObject



28
29
30
# File 'app/models/concerns/album.rb', line 28

def validation_for_title
  validates_presence_of :title
end