Class: FestivityPerformance

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

Instance Method Summary collapse

Instance Method Details

#end_date=(date) ⇒ Object



12
13
14
# File 'app/models/festivity_performance.rb', line 12

def end_date=(date)
  super(parse_date(date))
end

#festivity_location_page=(location) ⇒ Object



16
17
18
# File 'app/models/festivity_performance.rb', line 16

def festivity_location_page=(location)
  super(FestivityLocationPage.find(location[:id])) unless location[:id].blank?
end

#start_date=(date) ⇒ Object



8
9
10
# File 'app/models/festivity_performance.rb', line 8

def start_date=(date)
  super(parse_date(date))
end