I noticed a problem with indexing my rails app when submitting it to Google webmaster tools and testing with curl.
My root is currently set like so:
map.root :controller => "posts"
which will explain when i run:
$ curl http://0.0.0.0:3000
it only returns the posts controller and not the homepage in its entirety:
<div class="post" id="post_25">
<h2><a href="/posts/25">test</a><span class="date">09<br><b>Jul</b></span></h2>
<p><p>Aliquam erat volutpat. Mauris vel neque sit amet nunc gravida congue sed sit amet purus. Quisque lacus quam, egestas ac tincidunt a, lacinia vel velit. Aenean facilisis nulla vitae urna.</p></p>
<h3 class="more"><a href="/posts/25">Read Post</a></h3>
<p class="comment_count">
<a href="/posts/25">
1 comment
</a>
</p>
Because of this I had to add my Google verification meta code into the posts view to get it to verify confirming my fears that when Google crawls my site all it is seeing is the posts controller.
How do I make it return the entire homepage and not just the post controller?