aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/lib/action_web_service/templates
diff options
context:
space:
mode:
authorLeon Breedt <bitserf@gmail.com>2005-03-31 10:47:01 +0000
committerLeon Breedt <bitserf@gmail.com>2005-03-31 10:47:01 +0000
commit0de97c81dbe80e4abc50ec1434b33fe3219f2fd4 (patch)
treed1785188387cce4166b157227f34a36eca974ac8 /actionwebservice/lib/action_web_service/templates
parent0f198eb58ece74409827f3d4a739e49a1a0ecab5 (diff)
downloadrails-0de97c81dbe80e4abc50ec1434b33fe3219f2fd4.tar.gz
rails-0de97c81dbe80e4abc50ec1434b33fe3219f2fd4.tar.bz2
rails-0de97c81dbe80e4abc50ec1434b33fe3219f2fd4.zip
display the amount of time taken to invoke a scaffolding request
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib/action_web_service/templates')
-rw-r--r--actionwebservice/lib/action_web_service/templates/scaffolds/result.rhtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionwebservice/lib/action_web_service/templates/scaffolds/result.rhtml b/actionwebservice/lib/action_web_service/templates/scaffolds/result.rhtml
index 4475abff4a..5317688fcd 100644
--- a/actionwebservice/lib/action_web_service/templates/scaffolds/result.rhtml
+++ b/actionwebservice/lib/action_web_service/templates/scaffolds/result.rhtml
@@ -1,6 +1,10 @@
<h4>Method Invocation Result for <em><%= @scaffold_service %>#<%= @scaffold_method.public_name %></em></h4>
<p>
+Invocation took <tt><%= '%f' % @method_elapsed %></tt> seconds
+</p>
+
+<p>
<strong>Return Value:</strong><br />
<pre>
<%= h @method_return_value.inspect %>