Controlling when an application is open?

In application controller:

before_filter ( :can_run_this_date }

def can_run_this_date

if date_range.include?(Time.now) # this line doesn't work, but it should be something similair

else

end

end

Sorry I couldn’t help anymore, Good luck though.

Cheers,

Zach Inglis

→ Blog – http://www.zachinglis.com

→ Company – http://www.lt3media.com

→ Portfolio – http://portfolio.zachinglis.com