<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> annotate-models </title> <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script> <style> </style> <script type="text/javascript"> window.onload = function() { settings = { tl: { radius: 10 }, tr: { radius: 10 }, bl: { radius: 10 }, br: { radius: 10 }, antiAlias: true, autoPad: true, validTags: ["div"] } var versionBox = new curvyCorners(settings, document.getElementById("version")); versionBox.applyCornersToAll(); } </script> </head> <body> <div id="main"> <h1>annotate-models</h1> <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/annotate-models"; return false'> <p>Get Version</p> <a href="http://rubyforge.org/projects/annotate-models" class="numbers">1.0.1</a> </div> <h1>→ ‘annotate-models’</h1> <h2>What</h2> <h2>Installing</h2> <p><pre class='syntax'> <span class="ident">sudo</span> <span class="ident">gem</span> <span class="ident">install</span> <span class="ident">annotate</span><span class="punct">-</span><span class="ident">models</span> </pre></p> <h2>The basics</h2> <p>Add a comment summarizing the current schema to the top of each ActiveRecord model source file.</p> <p>This was created by Dave Thomas as a Rails plugin. This is now a gem that can run from command line</p> <h2>Demonstration of usage</h2> <p>Go to your <span class="caps">RAILS</span>_ROOT dir, then run <code>annotate</code></p> <h2>How to submit patches</h2> <p>See <a href="http://drnicwilliams.com/2008/02/03/using-git-within-a-team/">Using Git within a project</a></p> <p>The trunk repository is <code>http://github.com/ctran/annotate_models</code>.</p> <p>A svn mirror is on rubyforge <code>svn://rubyforge.org/var/svn/annotate-models/trunk</code></p> <h2>License</h2> <p>This code is free to use under the terms of the <span class="caps">MIT</span> license.</p> <h2>Contact</h2> <p>Comments are welcome. Send an email to <a href="mailto:ctran@pragmaquest.com">Cuong Tran</a></p> <p class="coda"> <a href="http://www.pragmaquest.com">Cuong Tran</a>, 10th March 2008<br> Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a> </p> </div> <!-- insert site tracking codes here, like Google Urchin --> </body> </html>