Fixed bug #1816 - the timeout updating logic should have been in a before_save handler, not in save_with_tags.

This commit is contained in:
Matt Amos 2009-05-12 13:54:37 +00:00
parent ed68d524de
commit 1ceb4ab9ba
5 changed files with 28 additions and 25 deletions

View file

@ -17,7 +17,7 @@ normal_user_first_change:
public_user_first_change:
id: 2
user_id: 2
created_at: "2008-05-01 01:23:45"
created_at: <%= Time.now.getutc %>
closed_at: <%= DateTime.now + Rational(1,24) %>
num_changes: 0
@ -38,7 +38,7 @@ public_user_closed_change:
public_user_version_change:
id: 4
user_id: 2
created_at: "2008-01-01 00:00:00"
created_at: <%= Time.now.getutc %>
closed_at: <%= DateTime.now + Rational(1,24) %>
min_lon: <%= 1 * SCALE %>
min_lat: <%= 1 * SCALE %>