<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Paul On Rails: Tag console</title>
    <link>http://paulonrails.com/articles/tag/console</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Paul's thoughts on Rails</description>
    <item>
      <title>Quickie irb/console hints</title>
      <description>&lt;p&gt;For some reason I&amp;#8217;m not a big script/console user.  Not really sure why but I normally either work with script/server or by running unit tests.  However script/console and irb are useful tools, here are a few quick hints.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://pablotron.org/software/wirble/"&gt;Wirble&lt;/a&gt; this gem adds in some really nice features to both irb and console.  Specially nice are persistent history, color syntax highlighting and tab completion.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://www.caliban.org/ruby/rubyguide.shtml#ri"&gt;ri&lt;/a&gt; I have the web interfaces to &lt;a href="http://www.ruby-doc.org/core/"&gt;rdoc&lt;/a&gt; and &lt;a href="http://api.rubyonrails.org/"&gt;api.rubyrails.org&lt;/a&gt; bookmarked.  However this can be more convenient.  Just use &lt;code&gt;ri classname&lt;/code&gt; or &lt;code&gt;ri classname#methodname&lt;/code&gt; to get docs on an object.  As a nice bonus Wirble adds in ri support to irb/console.&lt;/p&gt;


&lt;code&gt;reload!&lt;/code&gt; should reload in all your model changes within console.  This hopefully should reduce the number of times you have to exit out of console.</description>
      <pubDate>Thu, 20 Dec 2007 16:33:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:88b94f80-ea5a-44e7-9d91-bf569a930916</guid>
      <author>Paul Haddad</author>
      <link>http://paulonrails.com/articles/2007/12/20/quickie-irb-console-hints</link>
      <category>Hints</category>
      <category>Hints</category>
      <category>irb</category>
      <category>console</category>
    </item>
  </channel>
</rss>
