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



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

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

#festivity_location_page=(location) ⇒ Object



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

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

#start_date=(date) ⇒ Object



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

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