public
Description: Simple request timer Rails plugin.
Clone URL: git://github.com/defunkt/request_timer.git
Search Repo:
name age message
folder README Tue Mar 25 22:52:30 -0700 2008 first commit [defunkt]
folder index.html Wed Mar 26 06:26:34 -0700 2008 add index.html for easy bookmarklet saving [defunkt]
folder init.rb Tue Mar 25 22:52:30 -0700 2008 first commit [defunkt]
folder lib/ Tue Mar 25 22:52:30 -0700 2008 first commit [defunkt]
README
Simple.

Put this in your layout:

  <%= request_time 'Innocent text' %>

Then use this bookmarklet:

  javascript:alert('rendered in '+document.getElementById('_rrt').getAttribute('title'))

If you omit the innocent text, an HTML comment will be inserted into your layout and the bookmarklet
won't work.

>> chris@ozmm.org