Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Doc updates

  • Loading branch information...
commit df3c792339ffa224150f48b80f20ac0f6b084b1c 1 parent 5b5539f
@smtlaissezfaire authored
Showing with 6 additions and 7 deletions.
  1. +6 −7 README.rdoc
View
13 README.rdoc
@@ -1,7 +1,6 @@
= Enhanced Query Analyzer Plugin for MySQL on Rails
-
-= Installation
+== Installation
Install it in vendor/plugins:
@@ -15,7 +14,7 @@ Migrate:
rake db:migrate
-= Usage
+== Usage
All select queries will be logged to the query_logs table. You now have the ability to
store historical data of all of your database access.
@@ -28,7 +27,7 @@ You can also add the ability to dynamically run and log the explain of each quer
EnhancedQueryAnalyzer.explain_logging = true
-== Finer grained control:
+=== Finer grained control:
If you'd like finer grained control over logging, provide a block to EnhancedQueryAnalyzer.log_if:
@@ -42,15 +41,15 @@ or only log select queries:
EnhancedQueryAnalyzer.log_if { |query, time| query =~ /select/i }
-= Running Unit Tests
+== Running Unit Tests
You'll need rspec and mysql. The database must be named 'query_analyzer_test'
-= Credits
+== Credits
Written by Scott Taylor <scott@railsnewbie.com>.
Sponsored by Eastmedia (http://eastmedia.com).
-= License
+== License
Dual licensed under the MIT & GPL licenses.
Please sign in to comment.
Something went wrong with that request. Please try again.