Class: EventVenue

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/event_venue.rb

Instance Method Summary collapse

Instance Method Details

#titleObject

location is the string read in automatically from ical subscriptions



11
12
13
# File 'app/models/event_venue.rb', line 11

def title
  read_attribute(:title) || location
end

#to_sObject



6
7
8
# File 'app/models/event_venue.rb', line 6

def to_s
  title
end