Closed yuric closed 10 years ago
I know it is getting the right triggers. Test that is is being updated right. It was not fetching the right triggerst until I task line @weekint = DateTime.now.wday.to_i. It was fetching all '0's because it was passing a string as int. uupps!
@weekint = DateTime.now.wday.to_i
Current: 2.5 hrs worked.
I know it is getting the right triggers. Test that is is being updated right. It was not fetching the right triggerst until I task line
@weekint = DateTime.now.wday.to_i
. It was fetching all '0's because it was passing a string as int. uupps!Current: 2.5 hrs worked.