James McCarthy
James McCarthy
No problem. The windows_between was an accidental push, sorry about that. It was a bit of a spike but is all working on another branch. I've refactored return_to_opening_time I'll re-submit...
Yup, hard to tackle. Or at least hard to tackle consistently advancing and rewinding time across DST boundaries. My basic assumption is, we are talking here about working hours so...
Here's a thought on the deprecation. If there is an option hash we return a deprecation warning and append the all(options) or find(:all, options) otherwise we return the ActiveRecord::Relation so...
I agree with your generated model. My version of it I re-wrote all the scopes into class methods (as they more consistent in behaviour that scopes with lambdas) so I...