Skip to content
This repository
Browse code

1.9.2 fix

  • Loading branch information...
commit 4ace03d8fb8edbee4c91913f925e9ee265377829 1 parent b7a265b
John Crepezzi authored November 13, 2012

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  lib/ice_cube/validations/until.rb
3  lib/ice_cube/validations/until.rb
@@ -11,7 +11,8 @@ def until_time
11 11
     deprecated_alias :until_date, :until_time
12 12
 
13 13
     def until(time)
14  
-      @until = time = TimeUtil.ensure_time time, true
  14
+      time = TimeUtil.ensure_time time, true
  15
+      @until = time
15 16
       replace_validations_for(:until, time.nil? ? nil : [Validation.new(time)])
16 17
       self
17 18
     end

0 notes on commit 4ace03d

Please sign in to comment.
Something went wrong with that request. Please try again.