From f3618e48ac616f8b8a5e5f1ea1b0d679ef9cc1c0 Mon Sep 17 00:00:00 2001 From: Francis Irving Date: Mon, 18 Oct 2010 16:16:06 +0100 Subject: Fix bug which gave errors on submitting requests. --- app/models/info_request.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/models/info_request.rb') diff --git a/app/models/info_request.rb b/app/models/info_request.rb index b4dcbef77..e3336a079 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -638,6 +638,7 @@ public info_request_event.params = params info_request_event.info_request = self info_request_event.save! + self.reload # so it knows about the new info_request_event end # The last response is the default one people might want to reply to -- cgit v1.2.3