Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

1.9.2 fix

  • Loading branch information...
commit 4ace03d8fb8edbee4c91913f925e9ee265377829 1 parent b7a265b
@seejohnrun authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/ice_cube/validations/until.rb
View
3  lib/ice_cube/validations/until.rb
@@ -11,7 +11,8 @@ def until_time
deprecated_alias :until_date, :until_time
def until(time)
- @until = time = TimeUtil.ensure_time time, true
+ time = TimeUtil.ensure_time time, true
+ @until = time
replace_validations_for(:until, time.nil? ? nil : [Validation.new(time)])
self
end
Please sign in to comment.
Something went wrong with that request. Please try again.