Advertisement
saratbhaswanth

BackUp

Sep 19th, 2014
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.28 KB | None | 0 0
  1.   - @remove_holidays= {}
  2.   - if @holiday_calendar.holidays
  3.     - @holiday_calendar.holidays.each do |h|
  4.       - puts Holiday.all(:date => h.date)
  5.       - @remove_holidays.merge!(Holiday.all(:date => h.date))
  6.     - @test = Holiday.all-@remove_holidays
  7.     - puts @remove_holidays.to_a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement