From 4f8b8ad3c565dd37a03827dae535bb957ca4e300 Mon Sep 17 00:00:00 2001 From: ilya Date: Tue, 17 Aug 2010 11:03:31 -0700 Subject: [PATCH] DG IZ saving the post --- app/models/user.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/user.rb b/app/models/user.rb index 297a2d9c8..22af43d39 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -43,6 +43,7 @@ class User model_class = class_name.to_s.camelize.constantize post = model_class.instantiate(options) post.creator_signature = post.sign_with_key(encryption_key) + post.save post.notify_people post.socket_to_uid owner.id if (owner_id && post.respond_to?(:socket_to_uid))