Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - @remove_holidays= {}
- - if @holiday_calendar.holidays
- - @holiday_calendar.holidays.each do |h|
- - puts Holiday.all(:date => h.date)
- - @remove_holidays.merge!(Holiday.all(:date => h.date))
- - @test = Holiday.all-@remove_holidays
- - puts @remove_holidays.to_a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement