Update local copy of updated_at if the server provides it.
authorTom Clegg <tom@curoverse.com>
Tue, 15 Apr 2014 17:03:44 +0000 (13:03 -0400)
committerTom Clegg <tom@curoverse.com>
Tue, 15 Apr 2014 17:38:22 +0000 (13:38 -0400)
apps/workbench/app/models/arvados_base.rb

index 3c224aaba0560f492f923e138da7b421c3a17d59..5e32ead7e24032f2cbbcd3b07a1cf66dd0580c73 100644 (file)
@@ -138,7 +138,7 @@ class ArvadosBase < ActiveRecord::Base
     @kind = resp[:kind]
 
     # these attrs can be modified by "save" -- we should update our copies
-    %w(uuid owner_uuid created_at
+    %w(uuid owner_uuid created_at updated_at
        modified_at modified_by_user_uuid modified_by_client_uuid
       ).each do |attr|
       if self.respond_to? "#{attr}=".to_sym