Sha256: a7f9bbd26de42ef5e170b18efaf07f77ee73c00b83bcd79dac6320b2c9cbc59b
Contents?: true
Size: 153 Bytes
Versions: 30
Compression:
Stored size: 153 Bytes
Contents
class Comment < ActiveRecord::Base belongs_to :photo validates_presence_of :author, :body def blank? author.blank? && body.blank? end end
Version data entries
30 entries across 30 versions & 4 rubygems