Sha256: 71da57650628a1bc26cf41885c53c0c9f5f98401db1e3f3e6299453f455da42c
Contents?: true
Size: 285 Bytes
Versions: 4
Compression:
Stored size: 285 Bytes
Contents
class Album < ActiveRecord::Base has_many :photos, :dependent => :destroy belongs_to :user validates_presence_of :user_id acts_as_activity :user acts_as_commentable validates_presence_of :title attr_accessible :title, :description def owner self.user end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
community_engine-2.3.1 | app/models/album.rb |
community_engine-2.3.0 | app/models/album.rb |
community_engine-2.1.0 | app/models/album.rb |
community_engine-2.0.0 | app/models/album.rb |