Interesting Things
application.rb vs. application_controller.rb: As we all know,
ApplicationControllerbreaks with Rails convention and lives in theapplication.rbfile, notapplication_controller.rb.Be careful if you create anapplication_controller.rbfile of your own, as this can confuse Rails class loading and might result in Rails deciding not to loadapplication.rb.Google Webmaster Tools: Note that if you are using Google Webmaster Tools that statistics are different for www.example.com and example.com (sans www).

Nested Model Forms are coming in Rails 2.3! There is even a patch in progress.
You can specify which domain to use in Google Webmaster Tools settings: http://img.skitch.com/20090127-gj3194f14dp1sfcynqm6ar9it5.png
January 27, 2009 at 6:40 pm
Love the screenshot :)
January 28, 2009 at 5:28 am
@Dmytro
The issue wasn’t with how the urls are displayed, but how webmaster tools shows us the crawl stats. For one of our clients, one domain shows a average crawl of ~1,000 pages a day, for the other domain it shows ~90,000.
Even though the non-www version had the sitemap added, and google was crawling those urls, those crawls weren’t reported because they were only being reported for the www version (which we didn’t have added at the time).
January 28, 2009 at 8:53 am
I think that it is always worth adding a permanent redirect from the less favored to the more favored fully qualified domain name of your sites.
If your client wants to be example.com, then redirect traffic from http://www.example.com to example.com. This is good for both the client’s branding and their page rank. Plus you don’t end up wondering who is crawling your pages, what your total page views are, where your ad sales were, etc.
February 1, 2009 at 1:06 am
It looks like nested models support has been officially added to Rails 2.3! Read about it in [Ryan's Scraps](http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes “Ryan’s Scraps: What’s New in Edge Rails: Nested Object Forms”), the [github commit](http://github.com/rails/rails/commit/ec8f04584479aff895b0b511a7ba1e9d33f84067 “Commit ec8f04584479aff895b0b511a7ba1e9d33f84067 to rails’s rails – GitHub”), and also the [official blog](http://weblog.rubyonrails.org/2009/1/26/nested-model-forms “Riding Rails: Nested Model Forms”).
February 1, 2009 at 7:25 pm
@Ray
We’ve had a permanent redirect in place since last March, but the crawl stats for example.com still have ~1,000 page crawls a day.
This is why at first we though the stats MUST be unified, since how could Google be crawling 1,000 pages a day, all which return a 301 response.
February 3, 2009 at 1:08 am