Sha256: 7e57f22c4ccd760a0e97300187479bc4d56e3e785de56b835cf29511487c2e33
Contents?: true
Size: 325 Bytes
Versions: 30
Compression:
Stored size: 325 Bytes
Contents
class EventVenue < ActiveRecord::Base has_many :events, :dependent => :nullify has_site if respond_to? :has_site default_scope :order => 'title asc' def to_s title end # location is the string read in automatically from ical subscriptions def title read_attribute(:title) || location end end
Version data entries
30 entries across 30 versions & 1 rubygems