<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">15159</assigned-user-id>
  <attachments-count type="integer">9</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2008-09-04T14:42:53+01:00</created-at>
  <creator-id type="integer">1366</creator-id>
  <milestone-due-on type="datetime">2008-10-13T00:00:00+01:00</milestone-due-on>
  <milestone-id type="integer">20253</milestone-id>
  <number type="integer">2</number>
  <permalink>getting-started-with-rails</permalink>
  <priority type="integer">1</priority>
  <project-id type="integer">16213</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>published</state>
  <tag>beginner guide</tag>
  <title>Getting started with rails</title>
  <updated-at type="datetime">2010-02-09T03:49:42+00:00</updated-at>
  <user-id type="integer">85805</user-id>
  <user-name>Seivan</user-name>
  <creator-name>Pratik</creator-name>
  <assigned-user-name>Mikel Lindsaar</assigned-user-name>
  <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
  <milestone-title>Guides batch 1</milestone-title>
  <original-body>* Install Rails ( basic details and maybe links to detailed installation instructions )
* Basic command ( script/server script/console )
* Scaffolding
* Advise people to learn ruby along wih rails.
* Whatever else you might think an absolute beginner might want to know ( hint : O&#8217;Reilly&#8217;s 1.2 tutorial )</original-body>
  <latest-body>* Install Rails ( basic details and maybe links to detailed installation instructions )
* Basic command ( script/server script/console )
* Scaffolding
* Advise people to learn ruby along wih rails.
* Whatever else you might think an absolute beginner might want to know ( hint : O&#8217;Reilly&#8217;s 1.2 tutorial )</latest-body>
  <original-body-html>&lt;div&gt;&lt;ul&gt;
&lt;li&gt;Install Rails ( basic details and maybe links to detailed
installation instructions )&lt;/li&gt;
&lt;li&gt;Basic command ( script/server script/console )&lt;/li&gt;
&lt;li&gt;Scaffolding&lt;/li&gt;
&lt;li&gt;Advise people to learn ruby along wih rails.&lt;/li&gt;
&lt;li&gt;Whatever else you might think an absolute beginner might want
to know ( hint : O&amp;#8217;Reilly&amp;#8217;s 1.2 tutorial )&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>* Install Rails ( basic details and maybe links to detailed installation instructions )
* Basic command ( script/server script/console )
* Scaffolding
* Advise people to learn ruby along wih rails.
* Whatever else you might think an absolute beginner might want to know ( hint : O&#8217;Reilly&#8217;s 1.2 tutorial )</body>
      <body-html>&lt;div&gt;&lt;ul&gt;
&lt;li&gt;Install Rails ( basic details and maybe links to detailed
installation instructions )&lt;/li&gt;
&lt;li&gt;Basic command ( script/server script/console )&lt;/li&gt;
&lt;li&gt;Scaffolding&lt;/li&gt;
&lt;li&gt;Advise people to learn ruby along wih rails.&lt;/li&gt;
&lt;li&gt;Whatever else you might think an absolute beginner might want
to know ( hint : O&amp;#8217;Reilly&amp;#8217;s 1.2 tutorial )&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-04T14:42:54+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-04T14:42:54+01:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I'd like to take on the &quot;Getting Started With Rails&quot; guide.  If anyone has
any other bullet points of what should be included, go ahead and post
additional comments to this topic.

James</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'd like to take on the &quot;Getting Started With Rails&quot; guide. If
anyone has any other bullet points of what should be included, go
ahead and post additional comments to this topic.&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-04T16:50:14+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails-2</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-04T16:50:14+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I think the getting started guide should stay away from configuring MySQL/PostgreSQL and simply use the default: SQLite3 http://mislav.caboo.se/rails/install-sqlite3/

It's easy, fast enough, and (most importantly) zero-config.

Also, although I think we should not endorse commercial resources like books or Peepcode in Rails guides, a getting started guide should definitely point to Railscasts archives. They're small, free, and Ryan Bates regularly sticks to best programming practices.

Other things that come in mind:

* covering plugin/gem installation and debugging (verifying that they are installed and loaded)
* &quot;vendored rails&quot; (freezing rails)
* overview of generated Rails skeleton and what each directory is for
* after scaffold demonstration, show users how to poke around the generated stuff in the console</body>
      <body-html>&lt;div&gt;&lt;p&gt;I think the getting started guide should stay away from
configuring MySQL/PostgreSQL and simply use the default: SQLite3
&lt;a href=&quot;http://mislav.caboo.se/rails/install-sqlite3/&quot;&gt;http://mislav.caboo.se/rails/ins...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It's easy, fast enough, and (most importantly) zero-config.&lt;/p&gt;
&lt;p&gt;Also, although I think we should not endorse commercial
resources like books or Peepcode in Rails guides, a getting started
guide should definitely point to Railscasts archives. They're
small, free, and Ryan Bates regularly sticks to best programming
practices.&lt;/p&gt;
&lt;p&gt;Other things that come in mind:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;covering plugin/gem installation and debugging (verifying that
they are installed and loaded)&lt;/li&gt;
&lt;li&gt;&quot;vendored rails&quot; (freezing rails)&lt;/li&gt;
&lt;li&gt;overview of generated Rails skeleton and what each directory is
for&lt;/li&gt;
&lt;li&gt;after scaffold demonstration, show users how to poke around the
generated stuff in the console&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-04T17:43:19+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails-3</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-04T17:43:19+01:00</updated-at>
      <user-id type="integer">192</user-id>
      <user-name>Mislav</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Makes sense to stick with SQLite3, and will definitely point out relevant Railscasts.

I think that briefly covering plugin/gem installation is good, but debugging and freezing rails doesn't really fall into &quot;Getting started&quot;.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Makes sense to stick with SQLite3, and will definitely point out
relevant Railscasts.&lt;/p&gt;
&lt;p&gt;I think that briefly covering plugin/gem installation is good,
but debugging and freezing rails doesn't really fall into &quot;Getting
started&quot;.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-04T18:24:18+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails-4</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-04T18:24:18+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Agree that debugging/freezing doesn't fall into &quot;Getting started&quot;. Neither does the plugin stuff.

We can have a separate guide for &quot;Extending Rails - Working with plugins/gems&quot;</body>
      <body-html>&lt;div&gt;&lt;p&gt;Agree that debugging/freezing doesn't fall into &quot;Getting
started&quot;. Neither does the plugin stuff.&lt;/p&gt;
&lt;p&gt;We can have a separate guide for &quot;Extending Rails - Working with
plugins/gems&quot;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-04T19:13:15+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails-5</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-04T19:13:15+01:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I'd be more than happy to read drafts, run through example code, and whatnot. I've done a little bit of Rails work, but I'm enough of a noob that I'll be able to give good feedback on the clarity of the guide from the perspective of someone who has no real idea what he's doing.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'd be more than happy to read drafts, run through example code,
and whatnot. I've done a little bit of Rails work, but I'm enough
of a noob that I'll be able to give good feedback on the clarity of
the guide from the perspective of someone who has no real idea what
he's doing.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-05T22:12:10+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-05T22:12:12+01:00</updated-at>
      <user-id type="integer">31193</user-id>
      <user-name>charliepark</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>@charliepark Thanks for that offer.  I was actually thinking while writing this up that someone who has no in depth knowledge of rails would make this even better.  I'll have an incomplete draft of some kind on Github on Monday, and can start taking critique then.</body>
      <body-html>&lt;div&gt;&lt;p&gt;@charliepark Thanks for that offer. I was actually thinking
while writing this up that someone who has no in depth knowledge of
rails would make this even better. I'll have an incomplete draft of
some kind on Github on Monday, and can start taking critique
then.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-05T22:17:36+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-05T22:17:41+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>@charliepark (and anyone who wants to look) - I committed an initial draft of the getting started guide to GitHub:
http://github.com/lifo/docrails/tree/master/railties/doc/guides/getting_started_with_rails/getting_started_with_rails.txt

I know it still needs a ton of work, but I'm happy to take any critique on what's good and bad from the perspective of someone who is new to Rails.  More to come...</body>
      <body-html>&lt;div&gt;&lt;p&gt;@charliepark (and anyone who wants to look) - I committed an
initial draft of the getting started guide to GitHub: &lt;a href=&quot;http://github.com/lifo/docrails/tree/master/railties/doc/guides/getting_started_with_rails/getting_started_with_rails.txt&quot;&gt;
http://github.com/lifo/docrails/...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I know it still needs a ton of work, but I'm happy to take any
critique on what's good and bad from the perspective of someone who
is new to Rails. More to come...&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-08T17:40:46+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-08T17:40:53+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>James -

It's looking good. A few quick comments.

===========================================
SQLITE

When I tried to get SQLite working on my Windows box a few weeks back, I had some difficulty. Eventually, the last comment in this thread (09.06.2008 17:12) &#8212; http://www.ruby-forum.com/topic/136133#686264 &#8212; helped me get it working. In case that link disappears for some reason, here's the content:

1. Download the precompiled sqlite3 binaries for Windows at http://www.sqlite.org/download.html.
At the time of writing, these are sqlite-3_5_9.zip and sqlitedll-3_5_9.zip.

2. Extract the files (you'll have 3 files: sqlite3.exe, sqlite3.dll, and sqlite3.def) and place it in your ruby's bin directory (C:\ruby\bin).

3. Go to your command line and navigate to your bin directory, and type &quot;gem install sqlite3-ruby&quot;... press Enter. Wait for the files to be downloaded to your system.

4. You should now have sqlite3 working.

===========================================


===========================================
WINDOWS COMMAND LINE TWEAK

You mention firing commands with ./script/server
... on a Windows machine, the user will need to write all of those &quot;./&quot; commands as &quot;ruby &quot; ... so: &quot;ruby script/server&quot; or &quot;ruby script/generate model Post&quot;

===========================================


===========================================
MONGREL VS. WEBRICK

In the tutorial, you mention that Rails fires up with Webrick as the server. I think the default is now Mongrel, right? You can override that, but I think as a noob, I'd rather not worry about overriding the default. In the same vein, you mention the MySQL version of the database.yml file. I don't know that that's necessary, although I don't think it hurts anything to be there. Again, though, as a new programmer, the less ambiguity there is, the better. Like Steve Krug says for UI design: don't make me think.


===========================================

I look forward to continuing through it! It's looking good. I know it's taking a while for you to write it up. Thanks for your work on it.</body>
      <body-html>&lt;div&gt;&lt;p&gt;James -&lt;/p&gt;
&lt;p&gt;It's looking good. A few quick comments.&lt;/p&gt;
&lt;p&gt;=========================================== SQLITE&lt;/p&gt;
&lt;p&gt;When I tried to get SQLite working on my Windows box a few weeks
back, I had some difficulty. Eventually, the last comment in this
thread (09.06.2008 17:12) &amp;#8212; &lt;a href=&quot;http://www.ruby-forum.com/topic/136133#686264&quot;&gt;http://www.ruby-forum.com/topic/...&lt;/a&gt;
&amp;#8212; helped me get it working. In case that link disappears for
some reason, here's the content:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Download the precompiled sqlite3 binaries for Windows at
&lt;a href=&quot;http://www.sqlite.org/download.html&quot;&gt;http://www.sqlite.org/download.html&lt;/a&gt;.
At the time of writing, these are sqlite-3_5_9.zip and
sqlitedll-3_5_9.zip.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract the files (you'll have 3 files: sqlite3.exe,
sqlite3.dll, and sqlite3.def) and place it in your ruby's bin
directory (C:\ruby\bin).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go to your command line and navigate to your bin directory, and
type &quot;gem install sqlite3-ruby&quot;... press Enter. Wait for the files
to be downloaded to your system.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You should now have sqlite3 working.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;===========================================&lt;/p&gt;
&lt;p&gt;=========================================== WINDOWS COMMAND LINE
TWEAK&lt;/p&gt;
&lt;p&gt;You mention firing commands with ./script/server ... on a
Windows machine, the user will need to write all of those &quot;./&quot;
commands as &quot;ruby &quot; ... so: &quot;ruby script/server&quot; or &quot;ruby
script/generate model Post&quot;&lt;/p&gt;
&lt;p&gt;===========================================&lt;/p&gt;
&lt;p&gt;=========================================== MONGREL VS.
WEBRICK&lt;/p&gt;
&lt;p&gt;In the tutorial, you mention that Rails fires up with Webrick as
the server. I think the default is now Mongrel, right? You can
override that, but I think as a noob, I'd rather not worry about
overriding the default. In the same vein, you mention the MySQL
version of the database.yml file. I don't know that that's
necessary, although I don't think it hurts anything to be there.
Again, though, as a new programmer, the less ambiguity there is,
the better. Like Steve Krug says for UI design: don't make me
think.&lt;/p&gt;
&lt;p&gt;===========================================&lt;/p&gt;
&lt;p&gt;I look forward to continuing through it! It's looking good. I
know it's taking a while for you to write it up. Thanks for your
work on it.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-08T20:13:31+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-08T20:13:35+01:00</updated-at>
      <user-id type="integer">31193</user-id>
      <user-name>charliepark</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Hmmm. Sorry about that formatting.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hmmm. Sorry about that formatting.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-08T20:14:03+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-08T20:14:10+01:00</updated-at>
      <user-id type="integer">31193</user-id>
      <user-name>charliepark</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Thanks Charlie.

Actually not sure on the Mongrel/Webrick thing.  I know that it will use Mongrel as the default if Mongrel is installed, but I'm pretty sure Rails is still bundled with Webrick.  I'll check on that (or someone else feel free to chime in)

I have feeling that the installation of Rails, SQLite, and any other dependencies is going to take some collaboration to get the guide correct, especially when it comes to Windows (I've actually never even bothered to try getting Rails running on Windows myself).  I'm definitely spending more time on usage once you've got it going at this point.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks Charlie.&lt;/p&gt;
&lt;p&gt;Actually not sure on the Mongrel/Webrick thing. I know that it
will use Mongrel as the default if Mongrel is installed, but I'm
pretty sure Rails is still bundled with Webrick. I'll check on that
(or someone else feel free to chime in)&lt;/p&gt;
&lt;p&gt;I have feeling that the installation of Rails, SQLite, and any
other dependencies is going to take some collaboration to get the
guide correct, especially when it comes to Windows (I've actually
never even bothered to try getting Rails running on Windows
myself). I'm definitely spending more time on usage once you've got
it going at this point.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-08T20:32:04+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-08T20:32:07+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>WEBrick is not bundled with Rails, but with Ruby. So everything is guaranteed to have WEBrick.

I've heard that Mongrel is better, even in development, so one should encourage the user the install that as well.</body>
      <body-html>&lt;div&gt;&lt;p&gt;WEBrick is not bundled with Rails, but with Ruby. So everything
is guaranteed to have WEBrick.&lt;/p&gt;
&lt;p&gt;I've heard that Mongrel is better, even in development, so one
should encourage the user the install that as well.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-08T21:08:13+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-08T21:08:22+01:00</updated-at>
      <user-id type="integer">10679</user-id>
      <user-name>Hongli Lai</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Yes, the user needs to install Mongrel separately for Rails to use it as the default web server. No additional configuration is needed though. I recommend just mentioning the fact in a sidebar and concentrating on WEBrick for the purpose of the Getting started tutorial.

I have written Ruby on Rails installation tutorials for the Windows and GNU/Linux operating systems in the past(I don't own a Mac), so feel free to ask me if you need any help. Or should the installation part be a separate guide where the installation of all the required components of Rails(ruby, rubygems, rails, sqlite-ruby library, etc.) on all the popular platforms(Windows, Debian/Ubuntu, Fedora, openSuse, Mac OS X, etc.) can be covered comprehensively? 

The command 'ruby script/server' works on all platforms(including Windows).

Why not just start with the scaffold generator as the quick-and-easy way to get started and then later probably cover generating models and controllers separately?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Yes, the user needs to install Mongrel separately for Rails to
use it as the default web server. No additional configuration is
needed though. I recommend just mentioning the fact in a sidebar
and concentrating on WEBrick for the purpose of the Getting started
tutorial.&lt;/p&gt;
&lt;p&gt;I have written Ruby on Rails installation tutorials for the
Windows and GNU/Linux operating systems in the past(I don't own a
Mac), so feel free to ask me if you need any help. Or should the
installation part be a separate guide where the installation of all
the required components of Rails(ruby, rubygems, rails, sqlite-ruby
library, etc.) on all the popular platforms(Windows, Debian/Ubuntu,
Fedora, openSuse, Mac OS X, etc.) can be covered
comprehensively?&lt;/p&gt;
&lt;p&gt;The command 'ruby script/server' works on all
platforms(including Windows).&lt;/p&gt;
&lt;p&gt;Why not just start with the scaffold generator as the
quick-and-easy way to get started and then later probably cover
generating models and controllers separately?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-09T13:55:01+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-09T13:55:08+01:00</updated-at>
      <user-id type="integer">30557</user-id>
      <user-name>Tabrez Iqbal</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I like the idea of writing a separate comprehensive guide on installing Rails on all popular platforms.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I like the idea of writing a separate comprehensive guide on
installing Rails on all popular platforms.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-09T14:38:26+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-09T14:38:29+01:00</updated-at>
      <user-id type="integer">10679</user-id>
      <user-name>Hongli Lai</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I don't really think an installation guide is needed. It should be something that belongs to ruby-lang.org. Installing rails is as simple as 'gem install rails'.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I don't really think an installation guide is needed. It should
be something that belongs to ruby-lang.org. Installing rails is as
simple as 'gem install rails'.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-09T14:40:13+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-09T14:40:17+01:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Tabrez,
I chose to start off with the manual generation so people don't jump right to the easy way, when they have no clue what just got generated.

Also, the scaffold rarely gets used in practice, so I think it's important to know how to generate controllers, models, and migrations individually.

I'd love to hear other perspectives on this.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Tabrez, I chose to start off with the manual generation so
people don't jump right to the easy way, when they have no clue
what just got generated.&lt;/p&gt;
&lt;p&gt;Also, the scaffold rarely gets used in practice, so I think it's
important to know how to generate controllers, models, and
migrations individually.&lt;/p&gt;
&lt;p&gt;I'd love to hear other perspectives on this.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-09T15:43:34+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-09T15:43:38+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Agreed on scaffold generation. They're nice for the coolness factor but not really useful in practice.

As for an installation guide: I disagree with Pratik. Installing Rails, MySQL and other stuff is pretty easy on Linux systems, but could be confusing to lots of Windows developers, who are typically used to graphical installers. InstantRails seems to be popular among Windows developers.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Agreed on scaffold generation. They're nice for the coolness
factor but not really useful in practice.&lt;/p&gt;
&lt;p&gt;As for an installation guide: I disagree with Pratik. Installing
Rails, MySQL and other stuff is pretty easy on Linux systems, but
could be confusing to lots of Windows developers, who are typically
used to graphical installers. InstantRails seems to be popular
among Windows developers.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-09T17:19:06+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-09T17:19:11+01:00</updated-at>
      <user-id type="integer">10679</user-id>
      <user-name>Hongli Lai</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I think scaffold should definitely be first, along with the explanation what just happened. Of course, at that point users have to be familiar with MVC.

Scaffold is maybe not great for seasoned Rails professionals, but is a thing to get excited about when you're new to Rails. It offers a chance to jump in to populating your database right away and, at the same time, inspecting the code that does that.

It may also interest you that I often start with scaffolding code myself (controller and tests; views are those that get thrashed by time).</body>
      <body-html>&lt;div&gt;&lt;p&gt;I think scaffold should definitely be first, along with the
explanation what just happened. Of course, at that point users have
to be familiar with MVC.&lt;/p&gt;
&lt;p&gt;Scaffold is maybe not great for seasoned Rails professionals,
but is a thing to get excited about when you're new to Rails. It
offers a chance to jump in to populating your database right away
and, at the same time, inspecting the code that does that.&lt;/p&gt;
&lt;p&gt;It may also interest you that I often start with scaffolding
code myself (controller and tests; views are those that get
thrashed by time).&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-09T17:24:01+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-09T17:24:04+01:00</updated-at>
      <user-id type="integer">192</user-id>
      <user-name>Mislav</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>James, 

Using the scaffold generator allows the newcomer to quickly validate the Rails setup on his/her machine without having to run too many commands, and at the same time generates example code for the user to inspect and learn the basics from. Users may not want to use scaffold generation from their third project but my personal opinion is that scaffolding helps newcomers a lot in their first few rails projects.

Hongli,

In fact, installing Rails even on GNU/Linux systems is not that straightforward as there is no one easy place to look at for Ruby, RubyGems and Rails installation procedures. (Many people find their distribution's rubygems and latest rails version incompatible with each other and they need to be told to upgrade rubygems or build from source. Some miss required libraries like sqlite3-ruby, openssl-ruby.)

I think what Pratik is implying is that such documentation efforts must be directed in ruby-lang's direction, not rails, and that makes sense. Though I think that such a guide would be valuable if installing MySQL(e.g. needs annoying hack on Vista), subversion/git, mongrel and setting up IDEs is considered &quot;on-topic&quot; for a Rails installation guide.</body>
      <body-html>&lt;div&gt;&lt;p&gt;James,&lt;/p&gt;
&lt;p&gt;Using the scaffold generator allows the newcomer to quickly
validate the Rails setup on his/her machine without having to run
too many commands, and at the same time generates example code for
the user to inspect and learn the basics from. Users may not want
to use scaffold generation from their third project but my personal
opinion is that scaffolding helps newcomers a lot in their first
few rails projects.&lt;/p&gt;
&lt;p&gt;Hongli,&lt;/p&gt;
&lt;p&gt;In fact, installing Rails even on GNU/Linux systems is not that
straightforward as there is no one easy place to look at for Ruby,
RubyGems and Rails installation procedures. (Many people find their
distribution's rubygems and latest rails version incompatible with
each other and they need to be told to upgrade rubygems or build
from source. Some miss required libraries like sqlite3-ruby,
openssl-ruby.)&lt;/p&gt;
&lt;p&gt;I think what Pratik is implying is that such documentation
efforts must be directed in ruby-lang's direction, not rails, and
that makes sense. Though I think that such a guide would be
valuable if installing MySQL(e.g. needs annoying hack on Vista),
subversion/git, mongrel and setting up IDEs is considered
&quot;on-topic&quot; for a Rails installation guide.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-09T19:10:15+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-09T19:10:20+01:00</updated-at>
      <user-id type="integer">30557</user-id>
      <user-name>Tabrez Iqbal</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>James,
I was going through the draft version of this guide and I came across a few typos/etc. Do you want me to paste the corrections(10+ I think) here in the comments or would you prefer a git patch file of them? I was suggested on IRC to post them as comments here as the version in your repo might have been updated since you last published the guide to github.

e.g. (SUG = Suggestion)

[SUG]
Line 4: After reading, you should be familiar with:
could be: After reading it, you should be familiar with:

[TYPO]
Line 30: This will create the a folder
could be: This will create a folder

[TYPO]
Line 38: We'll focus on on the app folder
could be: We'll focus on the app folder

[TYPO]
Line 89: type the following will get you setup
could be: typing the following will get you setup

I am also attaching the patch for these changes. What would you prefer for the rest of the/future corrections/suggestions?</body>
      <body-html>&lt;div&gt;&lt;p&gt;James, I was going through the draft version of this guide and I
came across a few typos/etc. Do you want me to paste the
corrections(10+ I think) here in the comments or would you prefer a
git patch file of them? I was suggested on IRC to post them as
comments here as the version in your repo might have been updated
since you last published the guide to github.&lt;/p&gt;
&lt;p&gt;e.g. (SUG = Suggestion)&lt;/p&gt;
&lt;p&gt;[SUG] Line 4: After reading, you should be familiar with: could
be: After reading it, you should be familiar with:&lt;/p&gt;
&lt;p&gt;[TYPO] Line 30: This will create the a folder could be: This
will create a folder&lt;/p&gt;
&lt;p&gt;[TYPO] Line 38: We'll focus on on the app folder could be: We'll
focus on the app folder&lt;/p&gt;
&lt;p&gt;[TYPO] Line 89: type the following will get you setup could be:
typing the following will get you setup&lt;/p&gt;
&lt;p&gt;I am also attaching the patch for these changes. What would you
prefer for the rest of the/future corrections/suggestions?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-11T13:26:31+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-11T13:26:36+01:00</updated-at>
      <user-id type="integer">30557</user-id>
      <user-name>Tabrez Iqbal</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>&quot;Take what you like from this list and ignore the rest&quot;(tm)

* Line 6 could be: &quot;Installing Rails, creating a new Rails application, and connecting your application to a database.&quot;
* &quot;familiar with:&quot; on line 4 doesn't read well with lines 9, 10: &quot;Understand the basics of model...&quot; and &quot;Understand the basics of HTTP.&quot;
* Line 30 could be: &quot;Open up that folder and have a look at it.&quot;
* Line 144: &quot;works great in development&quot; could be &quot;works great in development mode.&quot; 
* Line 226: would it be helpful to point out where Rails is not smart enough to know the plurals of certain model names?</body>
      <body-html>&lt;div&gt;&lt;p&gt;&quot;Take what you like from this list and ignore the rest&quot;(tm)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Line 6 could be: &quot;Installing Rails, creating a new Rails
application, and connecting your application to a database.&quot;&lt;/li&gt;
&lt;li&gt;&quot;familiar with:&quot; on line 4 doesn't read well with lines 9, 10:
&quot;Understand the basics of model...&quot; and &quot;Understand the basics of
HTTP.&quot;&lt;/li&gt;
&lt;li&gt;Line 30 could be: &quot;Open up that folder and have a look at
it.&quot;&lt;/li&gt;
&lt;li&gt;Line 144: &quot;works great in development&quot; could be &quot;works great in
development mode.&quot;&lt;/li&gt;
&lt;li&gt;Line 226: would it be helpful to point out where Rails is not
smart enough to know the plurals of certain model names?&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-11T13:58:42+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-11T13:58:48+01:00</updated-at>
      <user-id type="integer">30557</user-id>
      <user-name>Tabrez Iqbal</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Tabrez,

Thanks for fixing the typos and offering up suggestions.  I've applied the patch as well as your other suggestions, feel free to post additional patch files in the future.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Tabrez,&lt;/p&gt;
&lt;p&gt;Thanks for fixing the typos and offering up suggestions. I've
applied the patch as well as your other suggestions, feel free to
post additional patch files in the future.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-11T16:11:22+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-11T16:11:30+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Perhaps it would be a good idea to link to the Pickaxe book in &quot;How to use this guide&quot;: http://www.ruby-doc.org/docs/ProgrammingRuby/

Personally, I learned Ruby in a weekend by reading this online tutorial: http://www.math.umd.edu/~dcarrera/ruby/0.3/
A friend of mine, to whom I showed this tutorial, liked this as well. This short tutorial may be better than a full book for people who have more programming experience and just want to learn Ruby quickly.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Perhaps it would be a good idea to link to the Pickaxe book in
&quot;How to use this guide&quot;: &lt;a href=&quot;http://www.ruby-doc.org/docs/ProgrammingRuby/&quot;&gt;http://www.ruby-doc.org/docs/Pro...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Personally, I learned Ruby in a weekend by reading this online
tutorial: &lt;a href=&quot;http://www.math.umd.edu/~dcarrera/ruby/0.3/&quot;&gt;http://www.math.umd.edu/~dcarrer...&lt;/a&gt;
A friend of mine, to whom I showed this tutorial, liked this as
well. This short tutorial may be better than a full book for people
who have more programming experience and just want to learn Ruby
quickly.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-13T13:25:08+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-13T13:25:48+01:00</updated-at>
      <user-id type="integer">10679</user-id>
      <user-name>Hongli Lai</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Hey James,

Any updates on this ?

Thanks.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hey James,&lt;/p&gt;
&lt;p&gt;Any updates on this ?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-21T12:41:46+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: beginner guide
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-21T12:41:47+01:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-30T00:09:14+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:milestone: 
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-09-30T00:09:17+01:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Hey James, what's cooking? Do you need some help finishing this up?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hey James, what's cooking? Do you need some help finishing this
up?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-11T23:57:48+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-11T23:57:51+01:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>I just committed a complete first draft of this one. I'm sure we can cram more in, but I tried to strike a balance between the various competing ideas. Comments and suggestions welcome.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I just committed a complete first draft of this one. I'm sure we
can cram more in, but I tried to strike a balance between the
various competing ideas. Comments and suggestions welcome.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-14T01:33:28+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-14T01:33:34+01:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Hey Mike,
Great work on this!  Sorry I've been unable to contribute recently...

James</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hey Mike, Great work on this! Sorry I've been unable to
contribute recently...&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-14T15:24:35+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-14T15:24:40+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-14T15:41:46+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 1366
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-14T15:41:49+01:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Looks great so far.  I really like how you link out to the other guides to explain things in depth; keep the duplication down and the depth where it belongs.  Just a few things I'd like to point out:

* Broken linking here: &quot;For more details on the rendering process, see link:../actionview/layouts_and_rendering [Layouts and Rendering in Rails]&quot;

* I might suggest that you explain form_for a *little* better (just mention that you can add fields for model attributes only; people often try to add their own random fields and it fails).  May or may not want to mention form_tag there...

* One more broken link: &quot;[http://manuals.rubyonrails.org/]Ruby On Rails guides&quot;

* I don't want to be self-serving here, but I might suggest you also link my book (http://www.humblelittlerubybook.com/) in the introductory section on Ruby books.  I tried to try strike a fairly good mid-line between _why's insanity and the depth of the Pickaxe.  It's also a little more up to date than the Pickaxe (though 80-90% of the Pickaxe is still completely usable).  It's free also, so it's not like I'm getting mad $$$ off of it. :)</body>
      <body-html>&lt;div&gt;&lt;p&gt;Looks great so far. I really like how you link out to the other
guides to explain things in depth; keep the duplication down and
the depth where it belongs. Just a few things I'd like to point
out:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Broken linking here: &quot;For more details on the rendering process,
see link:../actionview/layouts_and_rendering [Layouts and Rendering
in Rails]&quot;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I might suggest that you explain form_for a &lt;em&gt;little&lt;/em&gt;
better (just mention that you can add fields for model attributes
only; people often try to add their own random fields and it
fails). May or may not want to mention form_tag there...&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;One more broken link: &quot;[&lt;a href=&quot;http://manuals.rubyonrails.org/&quot;&gt;http://manuals.rubyonrails.org/&lt;/a&gt;]Ruby
On Rails guides&quot;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I don't want to be self-serving here, but I might suggest you
also link my book (&lt;a href=&quot;http://www.humblelittlerubybook.com/)&quot;&gt;http://www.humblelittlerubybook....&lt;/a&gt;
in the introductory section on Ruby books. I tried to try strike a
fairly good mid-line between _why's insanity and the depth of the
Pickaxe. It's also a little more up to date than the Pickaxe
(though 80-90% of the Pickaxe is still completely usable). It's
free also, so it's not like I'm getting mad $$$ off of it. :)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-16T14:58:48+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-16T14:58:54+01:00</updated-at>
      <user-id type="integer">159</user-id>
      <user-name>Jeremy McAnally</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Thanks...will definitely link your book in the next draft.

The plan is to have the final version of guides take over manuals.rubyonrails.org so hopefully that link will magically start working soon enough.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks...will definitely link your book in the next draft.&lt;/p&gt;
&lt;p&gt;The plan is to have the final version of guides take over
manuals.rubyonrails.org so hopefully that link will magically start
working soon enough.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-16T15:09:29+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-16T15:09:32+01:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Mike you have done a great job.

Here are some things i found reviewing the guide:


* When you list options, the sentences doesn't end with a dot, except for: &quot;... starting pieces of a Rails application.&quot;
* &quot;What Is Rails?&quot;: you could mention that Rails also encourage Agile Programming principles.
* &quot;The MVC Architecture&quot;: a graph explaining the workflow between each layer can be very helpful for newcomers.
* &quot;Creating the Blog Application&quot;: there are missing a couple ending dots at the end of the test and tmp directory descriptions.
* &quot;Configuring a SQLite Database&quot;: i think the following feels like duplicated lines, maybe you could clean up the &quot;If you're (on|not) 10.5 or greater&quot;...

If you're on OS X 10.5 or greater on a Mac, you already have it. Otherwise, you can install it using RubyGems:

If you're not running OS X 10.5 or greater, you'll need to install the SQLite gem. Similar to installing Rails you just need to run:

* &quot;Starting up the Web Server&quot;: You should replace Webrick for WEBrick, which is the correct name of the web server. There's an &quot;s&quot; missing on &quot;You should see Rails' default information page:&quot;
* &quot;Working with Posts in the Browser&quot;: in the tip toolbox where you explain that in development mode there's no need to stop and restart the web server because Rails reloads your application with every browser request, maybe you should warn that some files/directories won't be reloaded even in development mode.
* &quot;Listing All Posts&quot;: typo: &quot;borwse&quot; should be &quot;browse&quot;.
* &quot;Generating a Controller&quot;: an explanation of the new introduced methods, such as build, may be helpful for understanding the example.
* &quot;What's Next?&quot;: &quot;The [http://manuals.rubyonrails.org/]Ruby On Rails guides&quot; should be &quot;The Ruby On Rails guides[http://manuals.rubyonrails.org/]&quot; in order to make the link work.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Mike you have done a great job.&lt;/p&gt;
&lt;p&gt;Here are some things i found reviewing the guide:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;When you list options, the sentences doesn't end with a dot,
except for: &quot;... starting pieces of a Rails application.&quot;&lt;/li&gt;
&lt;li&gt;&quot;What Is Rails?&quot;: you could mention that Rails also encourage
Agile Programming principles.&lt;/li&gt;
&lt;li&gt;&quot;The MVC Architecture&quot;: a graph explaining the workflow between
each layer can be very helpful for newcomers.&lt;/li&gt;
&lt;li&gt;&quot;Creating the Blog Application&quot;: there are missing a couple
ending dots at the end of the test and tmp directory
descriptions.&lt;/li&gt;
&lt;li&gt;&quot;Configuring a SQLite Database&quot;: i think the following feels
like duplicated lines, maybe you could clean up the &quot;If you're
(on|not) 10.5 or greater&quot;...&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you're on OS X 10.5 or greater on a Mac, you already have it.
Otherwise, you can install it using RubyGems:&lt;/p&gt;
&lt;p&gt;If you're not running OS X 10.5 or greater, you'll need to
install the SQLite gem. Similar to installing Rails you just need
to run:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&quot;Starting up the Web Server&quot;: You should replace Webrick for
WEBrick, which is the correct name of the web server. There's an
&quot;s&quot; missing on &quot;You should see Rails' default information
page:&quot;&lt;/li&gt;
&lt;li&gt;&quot;Working with Posts in the Browser&quot;: in the tip toolbox where
you explain that in development mode there's no need to stop and
restart the web server because Rails reloads your application with
every browser request, maybe you should warn that some
files/directories won't be reloaded even in development mode.&lt;/li&gt;
&lt;li&gt;&quot;Listing All Posts&quot;: typo: &quot;borwse&quot; should be &quot;browse&quot;.&lt;/li&gt;
&lt;li&gt;&quot;Generating a Controller&quot;: an explanation of the new introduced
methods, such as build, may be helpful for understanding the
example.&lt;/li&gt;
&lt;li&gt;&quot;What's Next?&quot;: &quot;The [&lt;a href=&quot;http://manuals.rubyonrails.org/&quot;&gt;http://manuals.rubyonrails.org/&lt;/a&gt;]Ruby
On Rails guides&quot; should be &quot;The Ruby On Rails guides[&lt;a href=&quot;http://manuals.rubyonrails.org/&quot;&gt;http://manuals.rubyonrails.org/&lt;/a&gt;]&quot;
in order to make the link work.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-16T22:26:09+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-16T22:26:14+01:00</updated-at>
      <user-id type="integer">16138</user-id>
      <user-name>Emilio Tagua</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>In section 6.5...

The class should be class Post but is class Comment...

The contents are also for Comment &amp; not Post

And the comments folowing the code are referring to the Comments model.
( which has not been discussed at that stage )

Further on I expected this code to be seen when the Comments is discussed but it is not.

Overall it looks like a copy and paste went wrong and ended up being a cut and paste :)

also can I suggest that the two models code shown when relationships are discussed ( 7.2 ) show the complete code for the models not just the belongs_to and has_many.

cheers, Dave Porter</body>
      <body-html>&lt;div&gt;&lt;p&gt;In section 6.5...&lt;/p&gt;
&lt;p&gt;The class should be class Post but is class Comment...&lt;/p&gt;
&lt;p&gt;The contents are also for Comment &amp;amp; not Post&lt;/p&gt;
&lt;p&gt;And the comments folowing the code are referring to the Comments
model. ( which has not been discussed at that stage )&lt;/p&gt;
&lt;p&gt;Further on I expected this code to be seen when the Comments is
discussed but it is not.&lt;/p&gt;
&lt;p&gt;Overall it looks like a copy and paste went wrong and ended up
being a cut and paste :)&lt;/p&gt;
&lt;p&gt;also can I suggest that the two models code shown when
relationships are discussed ( 7.2 ) show the complete code for the
models not just the belongs_to and has_many.&lt;/p&gt;
&lt;p&gt;cheers, Dave Porter&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-17T03:58:56+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-17T03:59:00+01:00</updated-at>
      <user-id type="integer">34881</user-id>
      <user-name>Dave Porter</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Sorry should have looked more closely...

Section 6.6 ( Using the Console ) continues discussing comments when it does not exist yet !

Dave</body>
      <body-html>&lt;div&gt;&lt;p&gt;Sorry should have looked more closely...&lt;/p&gt;
&lt;p&gt;Section 6.6 ( Using the Console ) continues discussing comments
when it does not exist yet !&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-17T04:03:25+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-17T04:03:29+01:00</updated-at>
      <user-id type="integer">34881</user-id>
      <user-name>Dave Porter</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>In section 7.1 the class Comment has the belongs_to already there.

It does not mention modifying the code, so as it reads one would assume it is there from the model generation...

cheers, Dave</body>
      <body-html>&lt;div&gt;&lt;p&gt;In section 7.1 the class Comment has the belongs_to already
there.&lt;/p&gt;
&lt;p&gt;It does not mention modifying the code, so as it reads one would
assume it is there from the model generation...&lt;/p&gt;
&lt;p&gt;cheers, Dave&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-17T04:53:43+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-17T04:53:47+01:00</updated-at>
      <user-id type="integer">34881</user-id>
      <user-name>Dave Porter</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Have now finished working through this - some final comments:


1.  No mention of '@post.comments.build' used in comments controller ?  7.5
( i.e.  what is .build ? )
an explanation would be good !

I did not know, but found this in the newsgroups:
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/dd9387fe1307daaa/de30621ec113f64b?lnk=gst&amp;q=.build#de30621ec113f64b

2.  show.html.erb for posts is missing a vertical bar in the bottom links:
&lt;%= link_to 'Back', posts_path %&gt; | &lt;---- missing

3.  Suggestion:  The navigation after all the comments changes are in place is fairly ugly, it would be good to have it so that it is more like a real blog ( i.e. add comments at the end of a blog post etc... )

Regards, Dave Porter</body>
      <body-html>&lt;div&gt;&lt;p&gt;Have now finished working through this - some final
comments:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;No mention of '@post.comments.build' used in comments
controller ? 7.5 ( i.e. what is .build ? ) an explanation would be
good !&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I did not know, but found this in the newsgroups: &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/dd9387fe1307daaa/de30621ec113f64b?lnk=gst&amp;amp;amp;q=.build#de30621ec113f64b&quot;&gt;
http://groups.google.com/group/r...&lt;/a&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;show.html.erb for posts is missing a vertical bar in the bottom
links: &amp;lt;%= link_to 'Back', posts_path %&amp;gt; | &amp;lt;----
missing&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Suggestion: The navigation after all the comments changes are in
place is fairly ugly, it would be good to have it so that it is
more like a real blog ( i.e. add comments at the end of a blog post
etc... )&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Regards, Dave Porter&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-17T05:44:23+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-17T05:44:28+01:00</updated-at>
      <user-id type="integer">34881</user-id>
      <user-name>Dave Porter</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Thanks for the careful read, Dave. You caught some of it in mid-surgery. 

As far as the belongs_to - in fact, in edge rails that *does* get put in if you use :references in script/generate model.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks for the careful read, Dave. You caught some of it in
mid-surgery.&lt;/p&gt;
&lt;p&gt;As far as the belongs_to - in fact, in edge rails that
&lt;em&gt;does&lt;/em&gt; get put in if you use :references in script/generate
model.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-19T22:59:47+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-19T22:59:48+01:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Thanks Mike,

Thank's for the info on Edge - that sounds like a great enhancement - 
will that be a 2.2 feature... ?

I noticed some changes to the article, but 6.5 still has references to 
'Comments&quot; &amp; it's fields ...

&quot;These changes will ensure that all comments have a body and a 
commenter, and that the commenter is at least five characters long.&quot;

&amp; 6.6

&quot;and inspecting the errors of the comment.&quot;

&amp; the previous contents in the Post model that were for the comments do 
not appear to have made it to the comments model - i.e validation.

Kind Regards, Dave Porter</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks Mike,&lt;/p&gt;
&lt;p&gt;Thank's for the info on Edge - that sounds like a great
enhancement - will that be a 2.2 feature... ?&lt;/p&gt;
&lt;p&gt;I noticed some changes to the article, but 6.5 still has
references to 'Comments&quot; &amp;amp; it's fields ...&lt;/p&gt;
&lt;p&gt;&quot;These changes will ensure that all comments have a body and a
commenter, and that the commenter is at least five characters
long.&quot;&lt;/p&gt;
&lt;p&gt;&amp;amp; 6.6&lt;/p&gt;
&lt;p&gt;&quot;and inspecting the errors of the comment.&quot;&lt;/p&gt;
&lt;p&gt;&amp;amp; the previous contents in the Post model that were for the
comments do not appear to have made it to the comments model - i.e
validation.&lt;/p&gt;
&lt;p&gt;Kind Regards, Dave Porter&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-10-20T01:30:06+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>new</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-10-20T01:30:10+01:00</updated-at>
      <user-id type="integer">34881</user-id>
      <user-name>Dave Porter</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-01T18:08:58+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-01T18:09:01+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>I know this is marked as resolved, but there were a few formatting errors (a link that's not marked as an html link, source code that's not properly highlighted).

See the attached &quot;0002-formatting.patch&quot;. It is a patch to the source file only -- I haven't been able to install source-highlight to be able to run mizuho to generate the html file.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I know this is marked as resolved, but there were a few
formatting errors (a link that's not marked as an html link, source
code that's not properly highlighted).&lt;/p&gt;
&lt;p&gt;See the attached &quot;0002-formatting.patch&quot;. It is a patch to the
source file only -- I haven't been able to install source-highlight
to be able to run mizuho to generate the html file.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-03T20:01:38+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-03T20:01:44+00:00</updated-at>
      <user-id type="integer">19467</user-id>
      <user-name>Dave Rothlisberger</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Dave, we're happy to have tweaks &amp; patches, resolved or not. Don't worry about the html, we can regenerate that.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Dave, we're happy to have tweaks &amp;amp; patches, resolved or not.
Don't worry about the html, we can regenerate that.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-03T20:13:50+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-03T20:13:52+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Great guide. 

In the &quot;What's Next&quot; section there is a link to &quot;The Ruby on Rails guides&quot; pointing to &quot;manuals.rubyonrails.org&quot; that consistently returns a 503 status code; should it be changed to &quot;http://guides.rubyonrails.org/&quot;?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Great guide.&lt;/p&gt;
&lt;p&gt;In the &quot;What's Next&quot; section there is a link to &quot;The Ruby on
Rails guides&quot; pointing to &quot;manuals.rubyonrails.org&quot; that
consistently returns a 503 status code; should it be changed to
&quot;http://guides.rubyonrails.org/&quot;?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-17T10:37:24+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-17T10:37:29+00:00</updated-at>
      <user-id type="integer">35784</user-id>
      <user-name>Michael Hutchinson</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Good catch, we changed the Guides URL after that section was written. I'll push up a correction.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Good catch, we changed the Guides URL after that section was
written. I'll push up a correction.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-17T12:42:32+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-17T12:42:34+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Thanks, Mike for a great guide.  A couple of comments:

1)  In CommentsController, I think you generally want to replace the line:

@comment = Comment.find(params[:id])

with

@comment = @post.comments.find(params[:id])

So you can ensure that the comment truly belongs to that particular post.

2) Also in CommentsController, using post_comment_path works, but I think post_comment_url is preferred because, as DHH posted (http://www.ruby-forum.com/topic/101346) &quot;the
HTTP specification mandates that the Location: header in 3xx redirects
is a complete URL.&quot;</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks, Mike for a great guide. A couple of comments:&lt;/p&gt;
&lt;p&gt;1) In CommentsController, I think you generally want to replace
the line:&lt;/p&gt;
&lt;p&gt;@comment = Comment.find(params[:id])&lt;/p&gt;
&lt;p&gt;with&lt;/p&gt;
&lt;p&gt;@comment = @post.comments.find(params[:id])&lt;/p&gt;
&lt;p&gt;So you can ensure that the comment truly belongs to that
particular post.&lt;/p&gt;
&lt;p&gt;2) Also in CommentsController, using post_comment_path works,
but I think post_comment_url is preferred because, as DHH posted
(&lt;a href=&quot;http://www.ruby-forum.com/topic/101346)&quot;&gt;http://www.ruby-forum.com/topic/...&lt;/a&gt;
&quot;the HTTP specification mandates that the Location: header in 3xx
redirects is a complete URL.&quot;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-18T05:12:28+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-18T05:12:31+00:00</updated-at>
      <user-id type="integer">38006</user-id>
      <user-name>Anna Lissa Cruz</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Thanks! Good suggestions.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks! Good suggestions.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-18T17:12:21+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-18T17:12:28+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>1)  Between creating the rails blog project and running the server, there is no 'cd blog'.  Obvious I know, but a newbie might get caught.

2)  rake db:create is not required when running with the default sqlite3

cheers, Dave Porter</body>
      <body-html>&lt;div&gt;&lt;p&gt;1) Between creating the rails blog project and running the
server, there is no 'cd blog'. Obvious I know, but a newbie might
get caught.&lt;/p&gt;
&lt;p&gt;2) rake db:create is not required when running with the default
sqlite3&lt;/p&gt;
&lt;p&gt;cheers, Dave Porter&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-25T05:40:00+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:title: Getting started with rails
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails - two small points</title>
      <updated-at type="datetime">2008-11-25T05:40:06+00:00</updated-at>
      <user-id type="integer">34881</user-id>
      <user-name>Dave Porter</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Setting title back - sorry !</body>
      <body-html>&lt;div&gt;&lt;p&gt;Setting title back - sorry !&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-25T05:40:47+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:title: Getting started with rails - two small points
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-25T05:40:53+00:00</updated-at>
      <user-id type="integer">34881</user-id>
      <user-name>Dave Porter</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>I'm really new to running Ruby on Rails and was working through the demo.  It runs fine if I use the SQLite version, but when I try using MySQL it fails because the database doesn't exist:

Mysql::Error in HomeController#index
Unknown database 'blog_development'

Is the tutorial missing the database creation step?  It can't even display the first &quot;Hello World&quot; message due to the Mysql error.

I followed this guide for setting up my environment:
http://blog.openrain.com/2008/08/20/setup-ruby-and-rails-on-osx/</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'm really new to running Ruby on Rails and was working through
the demo. It runs fine if I use the SQLite version, but when I try
using MySQL it fails because the database doesn't exist:&lt;/p&gt;
&lt;p&gt;Mysql::Error in HomeController#index Unknown database
'blog_development'&lt;/p&gt;
&lt;p&gt;Is the tutorial missing the database creation step? It can't
even display the first &quot;Hello World&quot; message due to the Mysql
error.&lt;/p&gt;
&lt;p&gt;I followed this guide for setting up my environment: &lt;a href=&quot;http://blog.openrain.com/2008/08/20/setup-ruby-and-rails-on-osx/&quot;&gt;http://blog.openrain.com/2008/08...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-26T02:03:13+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-26T02:03:16+00:00</updated-at>
      <user-id type="integer">38937</user-id>
      <user-name>Dan Dawson</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>To answer Dan's question.

Dan have you configured database.yml as described in:
3.3.2. Configuring a MySQL Database

I can confirm that this does work perfectly as long as the user name and password here are accurate...
When rake db:create is run the database will be created.

HTH, Dave Porter</body>
      <body-html>&lt;div&gt;&lt;p&gt;To answer Dan's question.&lt;/p&gt;
&lt;p&gt;Dan have you configured database.yml as described in: 3.3.2.
Configuring a MySQL Database&lt;/p&gt;
&lt;p&gt;I can confirm that this does work perfectly as long as the user
name and password here are accurate... When rake db:create is run
the database will be created.&lt;/p&gt;
&lt;p&gt;HTH, Dave Porter&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-26T02:27:12+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-26T02:27:15+00:00</updated-at>
      <user-id type="integer">34881</user-id>
      <user-name>Dave Porter</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Thanks for that detail Dave, I do see:

 $ rake db:create

In section 6.1 &quot;Running a Migration&quot; however it is in step 4.1 that the user is first asked to start the webserver and visit:

http://localhost:3000/home/index

At that point in the process... no database existed and the error was created.

I can confirm that after &quot;rake db:create&quot; is executed, the script would function properly... but unless the rake command is moved up, Step 4.1 is never going to display &quot;Hello World&quot; if using MySQL :-)</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks for that detail Dave, I do see:&lt;/p&gt;
&lt;p&gt;$ rake db:create&lt;/p&gt;
&lt;p&gt;In section 6.1 &quot;Running a Migration&quot; however it is in step 4.1
that the user is first asked to start the webserver and visit:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://localhost:3000/home/index&quot;&gt;http://localhost:3000/home/index&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;At that point in the process... no database existed and the
error was created.&lt;/p&gt;
&lt;p&gt;I can confirm that after &quot;rake db:create&quot; is executed, the
script would function properly... but unless the rake command is
moved up, Step 4.1 is never going to display &quot;Hello World&quot; if using
MySQL :-)&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-26T02:43:09+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-26T02:43:11+00:00</updated-at>
      <user-id type="integer">38937</user-id>
      <user-name>Dan Dawson</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>I could be wrong, ( my working through this tutorial was with sqlite3), but if the connection details in database.yml are wrong, you will get the error you describe even thought the app has no database to connect to yet.
cheer Dave</body>
      <body-html>&lt;div&gt;&lt;p&gt;I could be wrong, ( my working through this tutorial was with
sqlite3), but if the connection details in database.yml are wrong,
you will get the error you describe even thought the app has no
database to connect to yet. cheer Dave&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-26T03:24:44+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-26T03:24:50+00:00</updated-at>
      <user-id type="integer">34881</user-id>
      <user-name>Dave Porter</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>My curiosity got the better of me, so I worked through the tutorial with mysql and I can confirm that Dan is completely correct.  You have to rake db:create before you can product the 'Hello, Rails' output in section 4.
cheers Dave</body>
      <body-html>&lt;div&gt;&lt;p&gt;My curiosity got the better of me, so I worked through the
tutorial with mysql and I can confirm that Dan is completely
correct. You have to rake db:create before you can product the
'Hello, Rails' output in section 4. cheers Dave&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-26T03:37:02+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-26T03:37:05+00:00</updated-at>
      <user-id type="integer">34881</user-id>
      <user-name>Dave Porter</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Thanks Dave, I do appreciate your confirmation of my hunch of the cause for the errors.  

I sure that once that correction is made to the tutorial it will save a lot of new Ruby on Rails programmers a ton of frustration!

&quot;rake db:create&quot; could be dropped in as step 3.4, Creating the Database.  6.1 could still remain the section on migrations, just remove the creation step there.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks Dave, I do appreciate your confirmation of my hunch of
the cause for the errors.&lt;/p&gt;
&lt;p&gt;I sure that once that correction is made to the tutorial it will
save a lot of new Ruby on Rails programmers a ton of
frustration!&lt;/p&gt;
&lt;p&gt;&quot;rake db:create&quot; could be dropped in as step 3.4, Creating the
Database. 6.1 could still remain the section on migrations, just
remove the creation step there.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-26T17:27:18+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-26T17:27:21+00:00</updated-at>
      <user-id type="integer">38937</user-id>
      <user-name>Dan Dawson</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>re, Partials

When going through the guide again I got to the partials section ( 7.1 ) and I questioned myself where the partial ( _forms.html.erb ) should be stored - as it was not mentioned where to save it.

I initially saved it in the layouts folder where it fails, so it seems it needs to be in the same folder as the other view files ( app/views/post in this case).

I think this should be mentioned as it could be a trap for newbies.

cheers Dave</body>
      <body-html>&lt;div&gt;&lt;p&gt;re, Partials&lt;/p&gt;
&lt;p&gt;When going through the guide again I got to the partials section
( 7.1 ) and I questioned myself where the partial ( _forms.html.erb
) should be stored - as it was not mentioned where to save it.&lt;/p&gt;
&lt;p&gt;I initially saved it in the layouts folder where it fails, so it
seems it needs to be in the same folder as the other view files (
app/views/post in this case).&lt;/p&gt;
&lt;p&gt;I think this should be mentioned as it could be a trap for
newbies.&lt;/p&gt;
&lt;p&gt;cheers Dave&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-27T02:13:06+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-27T02:13:12+00:00</updated-at>
      <user-id type="integer">34881</user-id>
      <user-name>Dave Porter</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Thanks, all, for the troubleshooting and discussion. I've been out of action for a couple of weeks, but I'm committing changes to clean up these workflow issues today.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks, all, for the troubleshooting and discussion. I've been
out of action for a couple of weeks, but I'm committing changes to
clean up these workflow issues today.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-11-30T12:57:01+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-11-30T12:57:07+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Having some issue, maybe you guys could include your source code with this.

But I'm getting a 
Unknown action

No action responded to 1. Actions: create, destroy, edit, index, new, show, and update

when clicking on my &quot;Manage Comments&quot; from a Post &quot;Show&quot; page. That
link looks like 

&lt;%= link_to 'Manage Comments', post_comments_path(@post) %&gt;

Any help would be appreciated</body>
      <body-html>&lt;div&gt;&lt;p&gt;Having some issue, maybe you guys could include your source code
with this.&lt;/p&gt;
&lt;p&gt;But I'm getting a Unknown action&lt;/p&gt;
&lt;p&gt;No action responded to 1. Actions: create, destroy, edit, index,
new, show, and update&lt;/p&gt;
&lt;p&gt;when clicking on my &quot;Manage Comments&quot; from a Post &quot;Show&quot; page.
That link looks like&lt;/p&gt;
&lt;p&gt;&amp;lt;%= link_to 'Manage Comments', post_comments_path(@post)
%&amp;gt;&lt;/p&gt;
&lt;p&gt;Any help would be appreciated&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T03:47:43+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T03:47:45+00:00</updated-at>
      <user-id type="integer">38785</user-id>
      <user-name>Quinn Gittings</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>@Quinn - You sure you have your routes configured properly?  Should have the following line in your routes.rb file:
map.resources :posts, :has_many =&gt; :comments</body>
      <body-html>&lt;div&gt;&lt;p&gt;@Quinn - You sure you have your routes configured properly?
Should have the following line in your routes.rb file:
map.resources :posts, :has_many =&amp;gt; :comments&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T04:21:46+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 7211
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T04:21:48+00:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>This is what I added to the routes.rb

  map.resources :posts do |post|
    post.resources :comments
  end

per the instructions, I didn't see anywhere in the tutorial to add your suggestion, is it missing?</body>
      <body-html>&lt;div&gt;&lt;p&gt;This is what I added to the routes.rb&lt;/p&gt;
&lt;p&gt;map.resources :posts do |post|&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;post.resources :comments
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;end&lt;/p&gt;
&lt;p&gt;per the instructions, I didn't see anywhere in the tutorial to
add your suggestion, is it missing?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T17:05:05+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T17:05:11+00:00</updated-at>
      <user-id type="integer">38785</user-id>
      <user-name>Quinn Gittings</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>What you have is correct.  Both statements do the same thing.  Not sure about your problem, would need a more detailed description of the error.</body>
      <body-html>&lt;div&gt;&lt;p&gt;What you have is correct. Both statements do the same thing. Not
sure about your problem, would need a more detailed description of
the error.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T17:08:15+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T17:08:18+00:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Attached is the development log, when trying to use the &quot;Manage Comments&quot; component from the Post &quot;Show&quot; page. It redirects to &quot;http://cookbook.dev/posts/1/comments&quot;</body>
      <body-html>&lt;div&gt;&lt;p&gt;Attached is the development log, when trying to use the &quot;Manage
Comments&quot; component from the Post &quot;Show&quot; page. It redirects to
&quot;http://cookbook.dev/posts/1/comments&quot;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T17:16:07+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T17:16:11+00:00</updated-at>
      <user-id type="integer">38785</user-id>
      <user-name>Quinn Gittings</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>Did you restart your dev webserver after adding the changes to your routes file?  The error is saying that your application is trying to access the action called &quot;1&quot;, which is the id of the post.  Since that action clearly doesn't exist, it raises an exception and tells you the available actions for that particular request.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Did you restart your dev webserver after adding the changes to
your routes file? The error is saying that your application is
trying to access the action called &quot;1&quot;, which is the id of the
post. Since that action clearly doesn't exist, it raises an
exception and tells you the available actions for that particular
request.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T18:06:37+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T18:06:40+00:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>Yep, I've restarted Apache, and the error still persists. Attached is my routes.rb for your review.

Is there something incorrect with the link to the Manage Comments page?

There are as follows:
&lt;%= link_to 'Edit', edit_post_path(@post) %&gt; |
&lt;%= link_to 'Back', posts_path %&gt;
&lt;%= link_to 'Manage Comments', post_comments_path(@post) %&gt;</body>
      <body-html>&lt;div&gt;&lt;p&gt;Yep, I've restarted Apache, and the error still persists.
Attached is my routes.rb for your review.&lt;/p&gt;
&lt;p&gt;Is there something incorrect with the link to the Manage
Comments page?&lt;/p&gt;
&lt;p&gt;There are as follows: &amp;lt;%= link_to 'Edit',
edit_post_path(@post) %&amp;gt; | &amp;lt;%= link_to 'Back', posts_path
%&amp;gt; &amp;lt;%= link_to 'Manage Comments', post_comments_path(@post)
%&amp;gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T19:08:13+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T19:08:18+00:00</updated-at>
      <user-id type="integer">38785</user-id>
      <user-name>Quinn Gittings</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">4</attachments-count>
      <body>Ah I see.  You are declaring the posts resource twice, plus you have the default routes in there (which I don't recommend if you're sticking with RESTful conventions).  Use the attached routes file.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Ah I see. You are declaring the posts resource twice, plus you
have the default routes in there (which I don't recommend if you're
sticking with RESTful conventions). Use the attached routes
file.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T19:18:34+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T19:18:37+00:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">5</attachments-count>
      <body>Excellent!!!

Thanks for the Great help! Seems like it would be a good idea to update the tutorial with your recommendations.

Thanks again!</body>
      <body-html>&lt;div&gt;&lt;p&gt;Excellent!!!&lt;/p&gt;
&lt;p&gt;Thanks for the Great help! Seems like it would be a good idea to
update the tutorial with your recommendations.&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T19:36:38+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T19:36:40+00:00</updated-at>
      <user-id type="integer">38785</user-id>
      <user-name>Quinn Gittings</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">5</attachments-count>
      <body>Instructions for updating this route are here: http://guides.rubyonrails.com/getting_started_with_rails.html#_adding_a_route

Plus, there's an entire guide that's just dedicated to routing: http://guides.rubyonrails.com/routing_outside_in.html which has the recommendation for removing the default routes: http://guides.rubyonrails.com/routing_outside_in.html#_default_routes</body>
      <body-html>&lt;div&gt;&lt;p&gt;Instructions for updating this route are here: &lt;a href=&quot;http://guides.rubyonrails.com/getting_started_with_rails.html#_adding_a_route&quot;&gt;
http://guides.rubyonrails.com/ge...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Plus, there's an entire guide that's just dedicated to routing:
&lt;a href=&quot;http://guides.rubyonrails.com/routing_outside_in.html&quot;&gt;http://guides.rubyonrails.com/ro...&lt;/a&gt;
which has the recommendation for removing the default routes:
&lt;a href=&quot;http://guides.rubyonrails.com/routing_outside_in.html#_default_routes&quot;&gt;
http://guides.rubyonrails.com/ro...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T19:57:03+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T19:57:05+00:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">5</attachments-count>
      <body>Ok cool, so...

Your implementation in routes.rb 

&quot;map.resources :posts, :has_many =&gt; :comments&quot; is an example of RESTful routing.

While...
&quot;map.resources :posts do |post|
post.resources :comments
end&quot; is an example of Nested routing...

Is that correct?

Thanks again for you help.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Ok cool, so...&lt;/p&gt;
&lt;p&gt;Your implementation in routes.rb&lt;/p&gt;
&lt;p&gt;&quot;map.resources :posts, :has_many =&amp;gt; :comments&quot; is an example
of RESTful routing.&lt;/p&gt;
&lt;p&gt;While... &quot;map.resources :posts do |post| post.resources
:comments end&quot; is an example of Nested routing...&lt;/p&gt;
&lt;p&gt;Is that correct?&lt;/p&gt;
&lt;p&gt;Thanks again for you help.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T20:25:57+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T20:26:02+00:00</updated-at>
      <user-id type="integer">38785</user-id>
      <user-name>Quinn Gittings</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">5</attachments-count>
      <body>@@@ ruby
map.resources :posts, :has_many =&gt; :comments
@@@
is just a cleaner way of writing
@@@ ruby
map.resources :posts do |post| 
  post.resources :comments 
end
@@@
You may want to use the block if you need to add other options to the route, such as:
@@@ ruby
map.resources :posts do |post|
  post.resources :comments, :member =&gt; { :duplicate =&gt; :get }, :collection =&gt; { :archive }
end
@@@</body>
      <body-html>&lt;div&gt;&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
map.resources :posts, :has_many =&amp;gt; :comments
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;is just a cleaner way of writing&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
map.resources :posts do |post| 
  post.resources :comments 
end
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You may want to use the block if you need to add other options
to the route, such as:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
map.resources :posts do |post|
  post.resources :comments, :member =&amp;gt; { :duplicate =&amp;gt; :get }, :collection =&amp;gt; { :archive }
end
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T20:33:13+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T20:33:16+00:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">5</attachments-count>
      <body>Last code block should be:
@@@ ruby
map.resources :posts do |post|
  post.resources :comments, :member =&gt; { :duplicate =&gt; :get }, :collection =&gt; { :archive =&gt; :get }
end
@@@
Can't edit lighthouse comments...</body>
      <body-html>&lt;div&gt;&lt;p&gt;Last code block should be:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
map.resources :posts do |post|
  post.resources :comments, :member =&amp;gt; { :duplicate =&amp;gt; :get }, :collection =&amp;gt; { :archive =&amp;gt; :get }
end
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Can't edit lighthouse comments...&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-12-19T20:38:06+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2008-12-19T20:38:12+00:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">5</attachments-count>
      <body>The link in Section 9 still points to manuals.rubyonrails.org instead of guides.rubyonrails.org.</body>
      <body-html>&lt;div&gt;&lt;p&gt;The link in Section 9 still points to manuals.rubyonrails.org
instead of guides.rubyonrails.org.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-15T04:26:12+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-15T04:26:14+00:00</updated-at>
      <user-id type="integer">43745</user-id>
      <user-name>rumblestrut</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">5</attachments-count>
      <body>I've been following this guide, using Mandrake.

When I get to section 4, and attempt to view the first page I created (edited index.htm.erb) I get an &quot;unrecognised database&quot; error.

I think your previous testers may not have been starting with out a database in place.

I have found that after running rake db:create and db:migrate THEN things work.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I've been following this guide, using Mandrake.&lt;/p&gt;
&lt;p&gt;When I get to section 4, and attempt to view the first page I
created (edited index.htm.erb) I get an &quot;unrecognised database&quot;
error.&lt;/p&gt;
&lt;p&gt;I think your previous testers may not have been starting with
out a database in place.&lt;/p&gt;
&lt;p&gt;I have found that after running rake db:create and db:migrate
THEN things work.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-18T06:00:51+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-18T06:00:55+00:00</updated-at>
      <user-id type="integer">44059</user-id>
      <user-name>GreenAsJade</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">5</attachments-count>
      <body>Ah - I just read above that you don't have to rake db:create if you are using sqlite.   I'm using mysql ... which would explain why this guide might work for people doing that!

Still, since you tell us how to setup the DB we want, you need to tell us if we need to db:create it before section 4.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Ah - I just read above that you don't have to rake db:create if
you are using sqlite. I'm using mysql ... which would explain why
this guide might work for people doing that!&lt;/p&gt;
&lt;p&gt;Still, since you tell us how to setup the DB we want, you need
to tell us if we need to db:create it before section 4.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-18T06:05:09+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-18T06:05:12+00:00</updated-at>
      <user-id type="integer">44059</user-id>
      <user-name>GreenAsJade</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">5</attachments-count>
      <body>Also, it's strange being sent from the guide to lodge tickets and finding oneself at an already closed ticket...</body>
      <body-html>&lt;div&gt;&lt;p&gt;Also, it's strange being sent from the guide to lodge tickets
and finding oneself at an already closed ticket...&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-18T06:07:39+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-18T06:07:45+00:00</updated-at>
      <user-id type="integer">44059</user-id>
      <user-name>GreenAsJade</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">5</attachments-count>
      <body>As mentioned in irc, section 4.3 is missing a screenshot.

Cheers,

GaJ</body>
      <body-html>&lt;div&gt;&lt;p&gt;As mentioned in irc, section 4.3 is missing a screenshot.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;GaJ&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-18T11:08:54+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-18T11:09:00+00:00</updated-at>
      <user-id type="integer">44059</user-id>
      <user-name>GreenAsJade</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">5</attachments-count>
      <body>Here's a screenshot you can add that I took.

I hereby place the image in the public domain.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Here's a screenshot you can add that I took.&lt;/p&gt;
&lt;p&gt;I hereby place the image in the public domain.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-22T03:06:59+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: beginner guide
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide screenshot</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-22T03:07:04+00:00</updated-at>
      <user-id type="integer">43568</user-id>
      <user-name>jroes</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">6</attachments-count>
      <body>Sorry, didn't realize the tags were for the entire ticket.  Removing &quot;screenshot&quot; tag.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Sorry, didn't realize the tags were for the entire ticket.
Removing &quot;screenshot&quot; tag.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-22T03:08:02+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: beginner guide screenshot
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-22T03:08:07+00:00</updated-at>
      <user-id type="integer">43568</user-id>
      <user-name>jroes</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">6</attachments-count>
      <body>Argh, the screenshot is actually supposed to be the empty Posts index.  Here's the correct one.  I promise this is the last time :)</body>
      <body-html>&lt;div&gt;&lt;p&gt;Argh, the screenshot is actually supposed to be the empty Posts
index. Here's the correct one. I promise this is the last time
:)&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-22T03:12:04+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-22T03:12:07+00:00</updated-at>
      <user-id type="integer">43568</user-id>
      <user-name>jroes</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>I'm a ruby and rails beginner and I just went through the tute with the latest versions of ruby/rails on Windows. Some feedback:

FIRSTLY

I tried what is under the heading &quot;7.1. Using Partials to Eliminate View Duplication&quot; and it simply doesn't work. The page gets rendered without the form, though I'm sure I'm following the instructions exactly.

The console says:
Processing PostsController#new (for 127.0.0.1 at 2009-01-24 23:59:17) [GET]
Rendering template within layouts/posts
Rendering posts/new
Rendered posts/_form (0.0ms)
Completed in 31ms (View: 16, DB: 0) | 200 OK [http://localhost/posts/new]
s/new]

Everything else in the tute worked. Maybe it's me or maybe there's an error here?

SECONDLY

In this line:
Again, the added complexity here (compared to the views you saw for managing comments) comes from the necessity of juggling a post and its comments at the same time.

The first reference to comments should be &quot;posts&quot;</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'm a ruby and rails beginner and I just went through the tute
with the latest versions of ruby/rails on Windows. Some
feedback:&lt;/p&gt;
&lt;p&gt;FIRSTLY&lt;/p&gt;
&lt;p&gt;I tried what is under the heading &quot;7.1. Using Partials to
Eliminate View Duplication&quot; and it simply doesn't work. The page
gets rendered without the form, though I'm sure I'm following the
instructions exactly.&lt;/p&gt;
&lt;p&gt;The console says: Processing PostsController#new (for 127.0.0.1
at 2009-01-24 23:59:17) [GET] Rendering template within
layouts/posts Rendering posts/new Rendered posts/_form (0.0ms)
Completed in 31ms (View: 16, DB: 0) | 200 OK [&lt;a href=&quot;http://localhost/posts/new&quot;&gt;http://localhost/posts/new&lt;/a&gt;]
s/new]&lt;/p&gt;
&lt;p&gt;Everything else in the tute worked. Maybe it's me or maybe
there's an error here?&lt;/p&gt;
&lt;p&gt;SECONDLY&lt;/p&gt;
&lt;p&gt;In this line: Again, the added complexity here (compared to the
views you saw for managing comments) comes from the necessity of
juggling a post and its comments at the same time.&lt;/p&gt;
&lt;p&gt;The first reference to comments should be &quot;posts&quot;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-24T23:43:57+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-24T23:44:02+00:00</updated-at>
      <user-id type="integer">44872</user-id>
      <user-name>fletchgqc</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>by the way rake:db_create gets run in section 3.3.4 and 6.1</body>
      <body-html>&lt;div&gt;&lt;p&gt;by the way rake:db_create gets run in section 3.3.4 and 6.1&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-25T00:01:17+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-25T00:01:20+00:00</updated-at>
      <user-id type="integer">44872</user-id>
      <user-name>fletchgqc</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>The link for &quot;Rails Routing from the Outside In guide&quot; under section &quot;
8.3. Adding a Route&quot; is broken. It looks to just be missing a .html</body>
      <body-html>&lt;div&gt;&lt;p&gt;The link for &quot;Rails Routing from the Outside In guide&quot; under
section &quot; 8.3. Adding a Route&quot; is broken. It looks to just be
missing a .html&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-26T15:36:34+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-26T15:36:36+00:00</updated-at>
      <user-id type="integer">12529</user-id>
      <user-name>Luke Amdor</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>Hi there.

I've just been through the tutorial and found it very easy to follow.  The only problem I found was that the comments_controller seemed to be missing a 'destroy' action.  I don't think I missed out a step, and the 'script/generate' command for the comments doesn't seem to have a 'destroy' action mentioned in it.

I copied the one from the posts_controller and altered it a bit:

  def destroy
    @post = Post.find(params[:post_id])
    @comment = Comment.find(params[:id])
    @comment.destroy

    respond_to do |format|
      format.html { redirect_to post_comments_path(@post) }
      format.xml  { head :ok }
    end
  end

This seems to work.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hi there.&lt;/p&gt;
&lt;p&gt;I've just been through the tutorial and found it very easy to
follow. The only problem I found was that the comments_controller
seemed to be missing a 'destroy' action. I don't think I missed out
a step, and the 'script/generate' command for the comments doesn't
seem to have a 'destroy' action mentioned in it.&lt;/p&gt;
&lt;p&gt;I copied the one from the posts_controller and altered it a
bit:&lt;/p&gt;
&lt;p&gt;def destroy&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;@post = Post.find(params[:post_id])
@comment = Comment.find(params[:id])
@comment.destroy

respond_to do |format|
  format.html { redirect_to post_comments_path(@post) }
  format.xml  { head :ok }
end
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;end&lt;/p&gt;
&lt;p&gt;This seems to work.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-27T16:15:15+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-27T16:15:21+00:00</updated-at>
      <user-id type="integer">45144</user-id>
      <user-name>Andrew Simpson</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>Reading previous posts on this ticket, it looks like other non-sqlite users have had the same problem I did: the guide doesn't say that if you're using another DBMS you may need to run rake db:create before the first page you create becomes visible. Would be good if this could be fixed! :-).</body>
      <body-html>&lt;div&gt;&lt;p&gt;Reading previous posts on this ticket, it looks like other
non-sqlite users have had the same problem I did: the guide doesn't
say that if you're using another DBMS you may need to run rake
db:create before the first page you create becomes visible. Would
be good if this could be fixed! :-).&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-01-30T13:55:48+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-01-30T13:55:51+00:00</updated-at>
      <user-id type="integer">45615</user-id>
      <user-name>dcottingham</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>Various fixes and patches have been check in on this one. Note that you won't see them unless you look at guides.rails.info, or wait for Rails 2.3 to release.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Various fixes and patches have been check in on this one. Note
that you won't see them unless you look at guides.rails.info, or
wait for Rails 2.3 to release.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-01T18:55:13+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>resolved</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-02-01T18:55:20+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>http://guides.rails.info/getting_started.html says,

If you prefer to use MySQL, run this command instead:
$ rails blog -d mysql

I'm just starting out with rails (Debian 2.1.0-6), but it seems to me that this should have -D instead of -d. Or is this something that changed from 2.1 to 2.3?</body>
      <body-html>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://guides.rails.info/getting_started.html&quot;&gt;http://guides.rails.info/getting...&lt;/a&gt;
says,&lt;/p&gt;
&lt;p&gt;If you prefer to use MySQL, run this command instead: $ rails
blog -d mysql&lt;/p&gt;
&lt;p&gt;I'm just starting out with rails (Debian 2.1.0-6), but it seems
to me that this should have -D instead of -d. Or is this something
that changed from 2.1 to 2.3?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-14T11:53:55+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:state: resolved
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-02-14T11:54:00+00:00</updated-at>
      <user-id type="integer">47408</user-id>
      <user-name>Chris Davies</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>Chris,
If you're looking to use MySQL, then rails blog -d mysql is the correct command.

The -D (uppercase) will &quot;Add CGI/FastCGI/mod_ruby dispatches code to generated application skeleton&quot; as copied from running the rails (v2.3.0) command with no arguments.

James</body>
      <body-html>&lt;div&gt;&lt;p&gt;Chris, If you're looking to use MySQL, then rails blog -d mysql
is the correct command.&lt;/p&gt;
&lt;p&gt;The -D (uppercase) will &quot;Add CGI/FastCGI/mod_ruby dispatches
code to generated application skeleton&quot; as copied from running the
rails (v2.3.0) command with no arguments.&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-14T23:13:08+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-02-14T23:13:13+00:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>I agree that the beginner guide should focus on SqlLite rather than MySql.  I've just spent an evening trying unsuccessfully to get it configured on a PPC iMac running Mac OSX 10.4 and gave up because gems insists on installing the wrong architecture for the mysql interface, even when I provide env ARCHFLAGS=&quot;-arch ppc&quot; as a prefix to the gem install command and include --with-mysql-config in the options.  

Since I already have it running on my windoze box I guess I'll stick with that, but I do like my iMac.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I agree that the beginner guide should focus on SqlLite rather
than MySql. I've just spent an evening trying unsuccessfully to get
it configured on a PPC iMac running Mac OSX 10.4 and gave up
because gems insists on installing the wrong architecture for the
mysql interface, even when I provide env ARCHFLAGS=&quot;-arch ppc&quot; as a
prefix to the gem install command and include --with-mysql-config
in the options.&lt;br&gt;&lt;/p&gt;
&lt;p&gt;Since I already have it running on my windoze box I guess I'll
stick with that, but I do like my iMac.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-19T03:11:35+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 7211
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-02-19T03:11:38+00:00</updated-at>
      <user-id type="integer">47973</user-id>
      <user-name>SteveL</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>Here's a great article on getting it running on 10.4.  From experience, it's a much quicker process on 10.5...

http://hivelogic.com/articles/2007/02/ruby-rails-mongrel-mysql-osx

The getting started guide specifies the options available for setting up a database, but doesn't go into detail on the installation of the databases because there's just no way to make it clear and straightforward for all OS's and their numerous versions.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Here's a great article on getting it running on 10.4. From
experience, it's a much quicker process on 10.5...&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://hivelogic.com/articles/2007/02/ruby-rails-mongrel-mysql-osx&quot;&gt;
http://hivelogic.com/articles/20...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The getting started guide specifies the options available for
setting up a database, but doesn't go into detail on the
installation of the databases because there's just no way to make
it clear and straightforward for all OS's and their numerous
versions.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-19T15:56:22+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-02-19T15:56:25+00:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>(from [38136f86dc5504bde94dc7399d4a854023d7481f]) DDL transactions and savepoints for sqlite

Sqlite has had DDL transactions since 2.0.0[1] and savepoints since
3.6.8[2].  This patch updates the connection_adapters.

[1] http://tinyurl.com/sqlite-v2-0-0
[2] http://tinyurl.com/sqlite-v3-6-8

Signed-off-by: Michael Koziarski &lt;michael@koziarski.com&gt;
[#2080 state:committed]
http://github.com/lifo/docrails/commit/38136f86dc5504bde94dc7399d4a854023d7481f</body>
      <body-html>&lt;div&gt;&lt;p&gt;(from [38136f86dc5504bde94dc7399d4a854023d7481f]) DDL
transactions and savepoints for sqlite&lt;/p&gt;
&lt;p&gt;Sqlite has had DDL transactions since 2.0.0[1] and savepoints
since 3.6.8[2]. This patch updates the connection_adapters.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/projects/16213/changesets/1&quot; title=&quot;Changeset #1&quot;&gt;[1]&lt;/a&gt; &lt;a href=&quot;http://tinyurl.com/sqlite-v2-0-0&quot;&gt;http://tinyurl.com/sqlite-v2-0-0&lt;/a&gt;
&lt;a href=&quot;/projects/16213/changesets/2&quot; title=&quot;Changeset #2&quot;&gt;[2]&lt;/a&gt;
&lt;a href=&quot;http://tinyurl.com/sqlite-v3-6-8&quot;&gt;http://tinyurl.com/sqlite-v3-6-8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Signed-off-by: Michael Koziarski &lt;a href=&quot;mailto:michael@koziarski.com&quot;&gt;michael@koziarski.com&lt;/a&gt; [&lt;a href=&quot;/projects/16213/tickets/2080&quot; title=&quot;Ticket #2080&quot;&gt;#2080&lt;/a&gt;
state:committed] &lt;a href=&quot;http://github.com/lifo/docrails/commit/38136f86dc5504bde94dc7399d4a854023d7481f&quot;&gt;
http://github.com/lifo/docrails/...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-10T00:36:08+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-03-10T00:36:11+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>(from [38136f86dc5504bde94dc7399d4a854023d7481f]) DDL transactions and savepoints for sqlite

Sqlite has had DDL transactions since 2.0.0[1] and savepoints since
3.6.8[2].  This patch updates the connection_adapters.

[1] http://tinyurl.com/sqlite-v2-0-0
[2] http://tinyurl.com/sqlite-v3-6-8

Signed-off-by: Michael Koziarski &lt;michael@koziarski.com&gt;
[#2080 state:committed]
http://github.com/lifo/docrails/commit/38136f86dc5504bde94dc7399d4a854023d7481f</body>
      <body-html>&lt;div&gt;&lt;p&gt;(from [38136f86dc5504bde94dc7399d4a854023d7481f]) DDL
transactions and savepoints for sqlite&lt;/p&gt;
&lt;p&gt;Sqlite has had DDL transactions since 2.0.0[1] and savepoints
since 3.6.8[2]. This patch updates the connection_adapters.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/projects/16213/changesets/1&quot; title=&quot;Changeset #1&quot;&gt;[1]&lt;/a&gt; &lt;a href=&quot;http://tinyurl.com/sqlite-v2-0-0&quot;&gt;http://tinyurl.com/sqlite-v2-0-0&lt;/a&gt;
&lt;a href=&quot;/projects/16213/changesets/2&quot; title=&quot;Changeset #2&quot;&gt;[2]&lt;/a&gt;
&lt;a href=&quot;http://tinyurl.com/sqlite-v3-6-8&quot;&gt;http://tinyurl.com/sqlite-v3-6-8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Signed-off-by: Michael Koziarski &lt;a href=&quot;mailto:michael@koziarski.com&quot;&gt;michael@koziarski.com&lt;/a&gt; [&lt;a href=&quot;/projects/16213/tickets/2080&quot; title=&quot;Ticket #2080&quot;&gt;#2080&lt;/a&gt;
state:committed] &lt;a href=&quot;http://github.com/lifo/docrails/commit/38136f86dc5504bde94dc7399d4a854023d7481f&quot;&gt;
http://github.com/lifo/docrails/...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-10T00:36:08+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-03-10T00:36:13+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>This guide is great, but from section 8 onwards I'm running into problems. Isn't the source for the blog app available? I'd like to diff and check if the guide is incorrect or if I really fail at copy&amp;paste...</body>
      <body-html>&lt;div&gt;&lt;p&gt;This guide is great, but from section 8 onwards I'm running into
problems. Isn't the source for the blog app available? I'd like to
diff and check if the guide is incorrect or if I really fail at
copy&amp;amp;paste...&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-24T22:01:10+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-03-24T22:01:14+00:00</updated-at>
      <user-id type="integer">51784</user-id>
      <user-name>nkuttler</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>At the end of section 9, the link to the &quot;nested model sample application&quot; is broken. It should be: http://github.com/alloy/complex-form-examples/tree/master</body>
      <body-html>&lt;div&gt;&lt;p&gt;At the end of section 9, the link to the &quot;nested model sample
application&quot; is broken. It should be: &lt;a href=&quot;http://github.com/alloy/complex-form-examples/tree/master&quot;&gt;http://github.com/alloy/complex-...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-04-05T09:39:36+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-04-05T09:39:42+01:00</updated-at>
      <user-id type="integer">53073</user-id>
      <user-name>Russell</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>Thanks Russell, fixed in http://github.com/lifo/docrails/commit/dda04f700e5d4fe7b40194555f2edbf55c02bd8c</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks Russell, fixed in &lt;a href=&quot;http://github.com/lifo/docrails/commit/dda04f700e5d4fe7b40194555f2edbf55c02bd8c&quot;&gt;
http://github.com/lifo/docrails/...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-04-05T10:51:26+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-04-05T10:51:31+01:00</updated-at>
      <user-id type="integer">11378</user-id>
      <user-name>Xavier Noria</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>There are two typos that I noticed in this document.

In section 3.2 &quot;Creating the blog application&quot; the following command is given:

$ rails blog -d mysql

Shouldn't that be:

$ rails blog -D mysql

Secondly, under 7.1 &quot;Using Partials to Eliminate View Duplication&quot;, it says:

&quot;For more information on partials, refer to the Layouts and Rending in Rails guide.&quot;

That should be:

&quot;For more information on partials, refer to the Layouts and Rendering in Rails guide.&quot;

HTH</body>
      <body-html>&lt;div&gt;&lt;p&gt;There are two typos that I noticed in this document.&lt;/p&gt;
&lt;p&gt;In section 3.2 &quot;Creating the blog application&quot; the following
command is given:&lt;/p&gt;
&lt;p&gt;$ rails blog -d mysql&lt;/p&gt;
&lt;p&gt;Shouldn't that be:&lt;/p&gt;
&lt;p&gt;$ rails blog -D mysql&lt;/p&gt;
&lt;p&gt;Secondly, under 7.1 &quot;Using Partials to Eliminate View
Duplication&quot;, it says:&lt;/p&gt;
&lt;p&gt;&quot;For more information on partials, refer to the Layouts and
Rending in Rails guide.&quot;&lt;/p&gt;
&lt;p&gt;That should be:&lt;/p&gt;
&lt;p&gt;&quot;For more information on partials, refer to the Layouts and
Rendering in Rails guide.&quot;&lt;/p&gt;
&lt;p&gt;HTH&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-04-05T15:15:02+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-04-05T15:15:08+01:00</updated-at>
      <user-id type="integer">53084</user-id>
      <user-name>Aidan Fitzpatrick</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>$ rails blog -D is for generating the dispatcher files.  rails blog -d is for specifying the database adapter.</body>
      <body-html>&lt;div&gt;&lt;p&gt;$ rails blog -D is for generating the dispatcher files. rails
blog -d is for specifying the database adapter.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-04-05T16:54:39+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-04-05T16:54:45+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>@James

You're right. I was using 2.1 rather than 2.3, and both -D and -d have changed behaviour in between.

The guide does say that it's for 2.3 at the top, but I wonder if it's worth flagging up again.

(FYI, 2.1 is the latest release in default packages for Ubuntus 8.04, 8.10 and 9.04.)</body>
      <body-html>&lt;div&gt;&lt;p&gt;@James&lt;/p&gt;
&lt;p&gt;You're right. I was using 2.1 rather than 2.3, and both -D and
-d have changed behaviour in between.&lt;/p&gt;
&lt;p&gt;The guide does say that it's for 2.3 at the top, but I wonder if
it's worth flagging up again.&lt;/p&gt;
&lt;p&gt;(FYI, 2.1 is the latest release in default packages for Ubuntus
8.04, 8.10 and 9.04.)&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-04-05T17:43:27+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-04-05T17:43:30+01:00</updated-at>
      <user-id type="integer">53084</user-id>
      <user-name>Aidan Fitzpatrick</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>Although a previous version may be the current in various distributions, the guides will always aim to be up to date with the most current Rails release.  Also, unless you're forced to work with an older version because of a legacy plugin or something, chances are you'll want to start a new project with the latest and greatest.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Although a previous version may be the current in various
distributions, the guides will always aim to be up to date with the
most current Rails release. Also, unless you're forced to work with
an older version because of a legacy plugin or something, chances
are you'll want to start a new project with the latest and
greatest.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-04-05T18:46:45+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-04-05T18:46:48+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>I noticed that (as far as I can tell) the guide doesn't implement deletion of the corresponding comments when a post is deleted. Should this be added?</body>
      <body-html>&lt;div&gt;&lt;p&gt;I noticed that (as far as I can tell) the guide doesn't
implement deletion of the corresponding comments when a post is
deleted. Should this be added?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-04-20T03:15:04+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-04-20T03:15:08+01:00</updated-at>
      <user-id type="integer">54561</user-id>
      <user-name>Rex Fernando</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>I committed this morning a fix to a few typos (including the one reported by Aidan) as well as a new section for Rex's suggestion.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I committed this morning a fix to a few typos (including the one
reported by Aidan) as well as a new section for Rex's
suggestion.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-04-26T01:50:44+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-04-26T01:50:50+01:00</updated-at>
      <user-id type="integer">55218</user-id>
      <user-name>Dana Jones</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>First of all, I must say this is a good guide and I actually followed this tutorial from beginning to end.

I'm not a Rails illiterate (I've also got some good experience with other web programming), but it's been a while since I did something with Rails (unfortunately).

So, some points I noted:
- in the beginning, the file views/posts/_form.html.erb has its form_for block with a variable f (form_for(@post) do |f|) and then in the end - the nested forms part - it becomes form_for(@post) do |post_form|. That may be a bit confusing for people who are learning.

- also in the tags part, the view has a line to add a new tag, in case there are none already (and so, giving the opportunity for the user to create one)
@post.tags.build if @post.tags.empty?
But with this code, a person can only add _one_ tag to the post. If there is already one tag associated, you can only alter it or remove it. I suggest removing the &quot;if&quot; part, so that there's always an empty input for the user to add a new tag (leave just @post.tags.build).</body>
      <body-html>&lt;div&gt;&lt;p&gt;First of all, I must say this is a good guide and I actually
followed this tutorial from beginning to end.&lt;/p&gt;
&lt;p&gt;I'm not a Rails illiterate (I've also got some good experience
with other web programming), but it's been a while since I did
something with Rails (unfortunately).&lt;/p&gt;
&lt;p&gt;So, some points I noted: - in the beginning, the file
views/posts/_form.html.erb has its form_for block with a variable f
(form_for(@post) do |f|) and then in the end - the nested forms
part - it becomes form_for(@post) do |post_form|. That may be a bit
confusing for people who are learning.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;also in the tags part, the view has a line to add a new tag, in
case there are none already (and so, giving the opportunity for the
user to create one) @post.tags.build if @post.tags.empty? But with
this code, a person can only add &lt;em&gt;one&lt;/em&gt; tag to the post. If
there is already one tag associated, you can only alter it or
remove it. I suggest removing the &quot;if&quot; part, so that there's always
an empty input for the user to add a new tag (leave just
@post.tags.build).&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-04-29T04:12:11+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-04-29T04:12:14+01:00</updated-at>
      <user-id type="integer">55530</user-id>
      <user-name>Rachel Carvalho</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">7</attachments-count>
      <body>Just a small error that came to my attention: at &quot;8.7 Deleting Associated Objects&quot; all code related to :tags shouldn't be there yet.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Just a small error that came to my attention: at &quot;8.7 Deleting
Associated Objects&quot; all code related to :tags shouldn't be there
yet.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-04-29T13:22:07+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 1366
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-04-29T13:22:10+01:00</updated-at>
      <user-id type="integer">55578</user-id>
      <user-name>Thomas Carlin</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>A broken link in section 8.3:
For more information on routing, see the Rails Routing from the Outside In guide.
The correct URL (from earlier in the document) is http://guides.rubyonrails.org/routing.html</body>
      <body-html>&lt;div&gt;&lt;p&gt;A broken link in section 8.3:&lt;br&gt;
For more information on routing, see the Rails Routing from the
Outside In guide.&lt;br&gt;
The correct URL (from earlier in the document) is &lt;a href=
&quot;http://guides.rubyonrails.org/routing.html&quot;&gt;http://guides.rubyonrails.org/routing.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-08-04T06:38:25+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-08-04T06:38:29+01:00</updated-at>
      <user-id type="integer">65026</user-id>
      <user-name>DaveM</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>One thing I would like to point out from the standpoint of a complete rails newbie is the topic of scope between model view and controller. This seems to be left out of every tutorial I have read and I am still struggling with it. I'll give an example. I create a very quick app:
rails myapp
script/generate scaffold User user:string randtext:string
modify routes to point root to uesers
rake db:create
rake db:migrate
script server 
works great

Now I want to add a method to generate a random string
def rand_string(length=8)
  make a string s
  s
end

I put it in the model User.rb
but my controller cannot find the method rand_string. (same if I put it applicationhelpers.rb too)

So perhaps a primer on how things are &quot;loaded&quot; up so that which parts of the system see other parts would be great in a beginners guide.</body>
      <body-html>&lt;div&gt;&lt;p&gt;One thing I would like to point out from the standpoint of a
complete rails newbie is the topic of scope between model view and
controller. This seems to be left out of every tutorial I have read
and I am still struggling with it. I'll give an example. I create a
very quick app:&lt;br&gt;
rails myapp&lt;br&gt;
script/generate scaffold User user:string randtext:string&lt;br&gt;
modify routes to point root to uesers&lt;br&gt;
rake db:create&lt;br&gt;
rake db:migrate&lt;br&gt;
script server&lt;br&gt;
works great&lt;/p&gt;
&lt;p&gt;Now I want to add a method to generate a random string&lt;br&gt;
def rand_string(length=8)&lt;br&gt;
make a string s s end&lt;/p&gt;
&lt;p&gt;I put it in the model User.rb&lt;br&gt;
but my controller cannot find the method rand_string. (same if I
put it applicationhelpers.rb too)&lt;/p&gt;
&lt;p&gt;So perhaps a primer on how things are &quot;loaded&quot; up so that which
parts of the system see other parts would be great in a beginners
guide.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-08-08T20:56:48+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-08-08T20:56:53+01:00</updated-at>
      <user-id type="integer">65640</user-id>
      <user-name>gemorgan</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>@gemorgan,

Adding an instance method called random_string to your User.rb (model) will essentially add a virtual attribute of any User object.

Let's say you have the following method in User.rb, you'll be able to call it only from an instance of User.
@@@ ruby
# models/user.rb
def random_string
  12345
end

# controllers/users_controller.rb
def action
  @user = User.first
  render :text =&gt; @user.random_string
end

# or in the view - views/users/show.html.erb
&lt;%= @user.random_string %&gt;
@@@</body>
      <body-html>&lt;div&gt;&lt;p&gt;@gemorgan,&lt;/p&gt;
&lt;p&gt;Adding an instance method called random_string to your User.rb
(model) will essentially add a virtual attribute of any User
object.&lt;/p&gt;
&lt;p&gt;Let's say you have the following method in User.rb, you'll be
able to call it only from an instance of User.&lt;br&gt;&lt;/p&gt;
&lt;pre&gt;
&lt;code class=&quot;ruby&quot;&gt;# models/user.rb
def random_string
  12345
end&lt;br&gt;
&lt;br&gt;


&lt;/code&gt;
&lt;/pre&gt;
&lt;h1&gt;&lt;code class=&quot;ruby&quot;&gt;controllers/users_controller.rb&lt;/code&gt;&lt;/h1&gt;
&lt;pre&gt;


&lt;br&gt;
def action
  @user = User.first
  render :text =&amp;gt; @user.random_string
end

&lt;/pre&gt;
&lt;h1&gt;or in the view - views/users/show.html.erb&lt;/h1&gt;
&lt;pre&gt;


&lt;br&gt;
&amp;lt;%= @user.random_string %&amp;gt;
&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-08-08T21:17:51+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-08-08T21:17:56+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>So basically even though a require &quot;models/user.rb&quot; is not implicit in the controller file, it is included. If I wanted the method to the a class method, I would use 

def self.random_string

instead.  I see. It's soaking in. Do the models, controllers and view see the methods defined in a helper?  I see that the top line is a module definition as opposed to a class. And does the application helper get imported to all other files?

BTW, I forgot to mention that the guide is exceptional. Until it's all tucked away in memory I will be back numerous times as I build a bevy of useless apps to learn the &quot;rails&quot; HAHAHAH! bet you never heard that one before...</body>
      <body-html>&lt;div&gt;&lt;p&gt;So basically even though a require &quot;models/user.rb&quot; is not
implicit in the controller file, it is included. If I wanted the
method to the a class method, I would use&lt;/p&gt;
&lt;p&gt;def self.random_string&lt;/p&gt;
&lt;p&gt;instead. I see. It's soaking in. Do the models, controllers and
view see the methods defined in a helper? I see that the top line
is a module definition as opposed to a class. And does the
application helper get imported to all other files?&lt;/p&gt;
&lt;p&gt;BTW, I forgot to mention that the guide is exceptional. Until
it's all tucked away in memory I will be back numerous times as I
build a bevy of useless apps to learn the &quot;rails&quot; HAHAHAH! bet you
never heard that one before...&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-08-08T23:45:42+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-08-08T23:45:48+01:00</updated-at>
      <user-id type="integer">65640</user-id>
      <user-name>gemorgan</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>I would just like to echo's gemorgan's obversvations, both of them:

1) The guide is fantastic

2) A description of what is executing in what scope is almost universally
   missing in rails documentation.

I actually found model vs controller scope quite intuitive - the
only time you get into model scope is when you call a method on a model.

However, the fact that you are executing in the context of the controller when you are in view code (for example) is not at all obvious to start off with.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I would just like to echo's gemorgan's obversvations, both of
them:&lt;/p&gt;
&lt;p&gt;1) The guide is fantastic&lt;/p&gt;
&lt;p&gt;2) A description of what is executing in what scope is almost
universally&lt;br&gt;
missing in rails documentation.&lt;/p&gt;
&lt;p&gt;I actually found model vs controller scope quite intuitive -
the&lt;br&gt;
only time you get into model scope is when you call a method on a
model.&lt;/p&gt;
&lt;p&gt;However, the fact that you are executing in the context of the
controller when you are in view code (for example) is not at all
obvious to start off with.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-08-09T00:03:01+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state nil="true"></state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-08-09T00:03:06+01:00</updated-at>
      <user-id type="integer">44059</user-id>
      <user-name>GreenAsJade</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>Ok folks. I'm gonna have to ask you guys to move the &quot;discussion&quot; part to the mailing list - http://groups.google.com/group/rubyonrails-docs

I'll be cleaning up all the messages here in a few days.

Thanks.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Ok folks. I'm gonna have to ask you guys to move the
&quot;discussion&quot; part to the mailing list - &lt;a href=
&quot;http://groups.google.com/group/rubyonrails-docs&quot;&gt;http://groups.google.com/group/rubyonrails-docs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I'll be cleaning up all the messages here in a few days.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-08-09T00:04:44+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:state: 
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-08-09T00:04:51+01:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-08-25T12:20:47+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: beginner guide
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>correction</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-08-25T12:20:50+01:00</updated-at>
      <user-id type="integer">67516</user-id>
      <user-name>14geronimo</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>I believe section &quot;6&quot; was really meant to be 5.1?</body>
      <body-html>&lt;div&gt;&lt;p&gt;I believe section &quot;6&quot; was really meant to be 5.1?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-08-25T12:22:27+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: correction
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-08-25T12:22:30+01:00</updated-at>
      <user-id type="integer">67516</user-id>
      <user-name>14geronimo</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>In section &quot;8.7 Deleting Associated Objects&quot; the code sample prematurely shows the lines

  accepts_nested_attributes_for :tags, :allow_destroy =&gt; :true, 
    :reject_if =&gt; proc { |attrs| attrs.all? { |k, v| v.blank? } }

which aren't introduced until the next section.

-Rob</body>
      <body-html>&lt;div&gt;&lt;p&gt;In section &quot;8.7 Deleting Associated Objects&quot; the code sample
prematurely shows the lines&lt;/p&gt;
&lt;p&gt;accepts_nested_attributes_for :tags, :allow_destroy =&amp;gt;
:true,&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;:reject_if =&amp;gt; proc { |attrs| attrs.all? { |k, v| v.blank? } }&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;which aren't introduced until the next section.&lt;/p&gt;
&lt;p&gt;-Rob&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-09-22T18:16:01+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-09-22T18:16:07+01:00</updated-at>
      <user-id type="integer">70635</user-id>
      <user-name>rharder</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>All references to tags are removed in the current source -- I'm not sure how often the guides are updated on guides.rails.info and guides.rubyonrails.org -- it appears they are a bit behind.</body>
      <body-html>&lt;div&gt;&lt;p&gt;All references to tags are removed in the current source -- I'm
not sure how often the guides are updated on guides.rails.info and
guides.rubyonrails.org -- it appears they are a bit behind.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-09-22T18:41:11+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2009-09-22T18:41:15+01:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>OK, I just updated this for Rails 3.0 and pushed up to docrails.  One failing part is the accepts_nested_attributes for which has a lighthouse ticket:

http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3779

I also made a github repository of all the code for this guide at:

http://github.com/mikel/getting-started-code

Mikel</body>
      <body-html>&lt;div&gt;&lt;p&gt;OK, I just updated this for Rails 3.0 and pushed up to docrails.
One failing part is the accepts_nested_attributes for which has a
lighthouse ticket:&lt;/p&gt;
&lt;p&gt;&lt;a href=
&quot;http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3779&quot;&gt;
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I also made a github repository of all the code for this guide
at:&lt;/p&gt;
&lt;p&gt;&lt;a href=
&quot;http://github.com/mikel/getting-started-code&quot;&gt;http://github.com/mikel/getting-started-code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Mikel&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2010-01-24T04:51:35+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2010-01-24T04:51:38+00:00</updated-at>
      <user-id type="integer">15159</user-id>
      <user-name>Mikel Lindsaar</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>Hi This is my first time contributing to this project. Still a Rails newbie.

In section 6 - Creating a Resource, some of the descriptions of what files the script generator created are mixed up. Here is what it looks like at the time of this writing:

app/views/posts/edit.html.erb  	A view to display a single post
app/views/posts/show.html.erb 	A view to create a new post
app/views/posts/new.html.erb 	A view to edit an existing post

I think it should be:

app/views/posts/edit.html.erb  	A view to edit an existing post
app/views/posts/show.html.erb 	A view to display a single post
app/views/posts/new.html.erb 	A view to create a new post


Thanks.
Terry</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hi This is my first time contributing to this project. Still a
Rails newbie.&lt;/p&gt;
&lt;p&gt;In section 6 - Creating a Resource, some of the descriptions of
what files the script generator created are mixed up. Here is what
it looks like at the time of this writing:&lt;/p&gt;
&lt;p&gt;app/views/posts/edit.html.erb A view to display a single
post&lt;br&gt;
app/views/posts/show.html.erb A view to create a new post&lt;br&gt;
app/views/posts/new.html.erb A view to edit an existing post&lt;/p&gt;
&lt;p&gt;I think it should be:&lt;/p&gt;
&lt;p&gt;app/views/posts/edit.html.erb A view to edit an existing
post&lt;br&gt;
app/views/posts/show.html.erb A view to display a single post&lt;br&gt;
app/views/posts/new.html.erb A view to create a new post&lt;/p&gt;
&lt;p&gt;Thanks.&lt;br&gt;
Terry&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2010-01-27T16:53:13+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2010-01-27T16:53:17+00:00</updated-at>
      <user-id type="integer">84221</user-id>
      <user-name>Terry Sznober</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>@Terry - fixed and pushed to master on GitHub.  Thanks.</body>
      <body-html>&lt;div&gt;&lt;p&gt;@Terry - fixed and pushed to master on GitHub. Thanks.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2010-01-27T17:26:37+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2010-01-27T17:26:41+00:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15159</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>In Topic 3.3 Installing the Required Gems, information is given about to install &quot;Bundler&quot; Gem. However, the 2 commands given after some text about &quot;Bundler&quot; gem is like below:

$ gem install bundle
$ gem bundle

This is typo. Here &quot;r&quot; is missing in both commands at the end.It should be like below:

$ gem install bundler
$ gem bundler

Thanks,
Pulkit J. Pancholi</body>
      <body-html>&lt;div&gt;&lt;p&gt;In Topic 3.3 Installing the Required Gems, information is given
about to install &quot;Bundler&quot; Gem. However, the 2 commands given after
some text about &quot;Bundler&quot; gem is like below:&lt;/p&gt;
&lt;p&gt;$ gem install bundle $ gem bundle&lt;/p&gt;
&lt;p&gt;This is typo. Here &quot;r&quot; is missing in both commands at the end.It
should be like below:&lt;/p&gt;
&lt;p&gt;$ gem install bundler $ gem bundler&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br&gt;
Pulkit J. Pancholi&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2010-02-05T12:55:08+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 1366
</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2010-02-05T12:55:15+00:00</updated-at>
      <user-id type="integer">57114</user-id>
      <user-name>pulkit pancholi</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mikel Lindsaar</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15159</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>@pulkit - Fixed, thanks.</body>
      <body-html>&lt;div&gt;&lt;p&gt;@pulkit - Fixed, thanks.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2010-02-05T17:04:00+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2010-02-05T17:04:04+00:00</updated-at>
      <user-id type="integer">3793</user-id>
      <user-name>James</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mikel Lindsaar</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15159</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>Full rewrite of the getting started guide to work with 3.0.0-beta.  Also made it more railsish, added a better example of a before_filter (authentication) and included more examples on partials as well as fitting in a helper example.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Full rewrite of the getting started guide to work with
3.0.0-beta. Also made it more railsish, added a better example of a
before_filter (authentication) and included more examples on
partials as well as fitting in a helper example.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2010-02-08T03:20:41+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2010-02-08T03:20:46+00:00</updated-at>
      <user-id type="integer">15159</user-id>
      <user-name>Mikel Lindsaar</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mikel Lindsaar</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15159</assigned-user-id>
      <attachments-count type="integer">9</attachments-count>
      <body>I might have misunderstood, but did you guys remove the part about using before_filters to load the instance variables in the actions? 

before_filter :get_posts

Also, how about adding the new; 
respond_to :html, :xml, :json  

Sorry if leaving those parts out is intended, it's just that they were in the old guides so, people might want to know.  
Especially the respond_to stuff, thats lovely to use.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I might have misunderstood, but did you guys remove the part
about using before_filters to load the instance variables in the
actions?&lt;/p&gt;
&lt;p&gt;before_filter :get_posts&lt;/p&gt;
&lt;p&gt;Also, how about adding the new;&lt;br&gt;
respond_to :html, :xml, :json&lt;br&gt;&lt;/p&gt;
&lt;p&gt;Sorry if leaving those parts out is intended, it's just that
they were in the old guides so, people might want to know.&lt;br&gt;
Especially the respond_to stuff, thats lovely to use.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2010-02-09T03:49:38+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">20253</milestone-id>
      <number type="integer">2</number>
      <permalink>getting-started-with-rails</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>published</state>
      <tag>beginner guide</tag>
      <title>Getting started with rails</title>
      <updated-at type="datetime">2010-02-09T03:49:42+00:00</updated-at>
      <user-id type="integer">85805</user-id>
      <user-name>Seivan</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mikel Lindsaar</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/2</url>
      <milestone-title>Guides batch 1</milestone-title>
    </version>
  </versions>
  <attachments type="array">
    <attachment type="Attachment">
      <code>a18cedf8fdc6e267ac4651c05b87b3f53823d983</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2008-09-11T13:26:31+01:00</created-at>
      <filename>0001-Fixed-a-few-typos.patch</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">45284</id>
      <size type="integer">3278</size>
      <uploader-id type="integer">30557</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/45284/0001-Fixed-a-few-typos.patch</url>
    </attachment>
    <attachment type="Attachment">
      <code>ce68f1a9f7a5cc8fcd3595d36c2b31ce4b743f66</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2008-11-03T20:01:38+00:00</created-at>
      <filename>0002-formatting.patch</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">59023</id>
      <size type="integer">3495</size>
      <uploader-id type="integer">19467</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/59023/0002-formatting.patch</url>
    </attachment>
    <attachment type="Attachment">
      <code>f4219c89c086414267918fdb9f938d902ada7678</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2008-12-19T17:16:07+00:00</created-at>
      <filename>development_log.txt</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">72897</id>
      <size type="integer">7305</size>
      <uploader-id type="integer">38785</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/72897/development_log.txt</url>
    </attachment>
    <attachment type="Attachment">
      <code>eb6fd1a9b3c65ae22eb2ab65368b27cd4d3de835</code>
      <content-type>application/octet-stream</content-type>
      <created-at type="datetime">2008-12-19T19:08:14+00:00</created-at>
      <filename>routes.rb</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">72940</id>
      <size type="integer">2049</size>
      <uploader-id type="integer">38785</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/72940/routes.rb</url>
    </attachment>
    <attachment type="Attachment">
      <code>ba4a3917b884142d287eb3e39a87a7415b2d17ec</code>
      <content-type>application/octet-stream</content-type>
      <created-at type="datetime">2008-12-19T19:18:34+00:00</created-at>
      <filename>routes.rb</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">72944</id>
      <size type="integer">122</size>
      <uploader-id type="integer">3793</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/72944/routes.rb</url>
    </attachment>
    <attachment-image type="Attachment">
      <code>0263b362167e335fb2d1dec9ca7fc11b269ac769</code>
      <content-type>image/png</content-type>
      <created-at type="datetime">2009-01-22T03:06:59+00:00</created-at>
      <filename>Picture_1.png</filename>
      <height type="integer">545</height>
      <id type="integer">80717</id>
      <size type="integer">17279</size>
      <uploader-id type="integer">43568</uploader-id>
      <width type="integer">383</width>
      <url>http://rails.lighthouseapp.com/attachments/80717/Picture_1.png</url>
    </attachment-image>
    <attachment-image type="Attachment">
      <code>5585bac92c0f0ae061c3ee945bab32f337e94b7b</code>
      <content-type>image/png</content-type>
      <created-at type="datetime">2009-01-22T03:12:04+00:00</created-at>
      <filename>posts-index.png</filename>
      <height type="integer">190</height>
      <id type="integer">80721</id>
      <size type="integer">11533</size>
      <uploader-id type="integer">43568</uploader-id>
      <width type="integer">269</width>
      <url>http://rails.lighthouseapp.com/attachments/80721/posts-index.png</url>
    </attachment-image>
  </attachments>
</ticket>
