Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Standup 1/27/2009: Nested Model Forms Soon

Joe Moore
Tuesday, January 27, 2009

Interesting Things

  • application.rb vs. application_controller.rb: As we all know, ApplicationController breaks with Rails convention and lives in the application.rb file, not application_controller.rb. Be careful if you create an application_controller.rb file of your own, as this can confuse Rails class loading and might result in Rails deciding not to load application.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.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

6 Comments

  1. Dmytro Shteflyuk says:

    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

  2. Abhi says:

    Love the screenshot :)

    January 28, 2009 at 5:28 am

  3. Joseph Palermo says:

    @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

  4. Ray Baxter says:

    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

  5. Joe Moore says:

    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

  6. Joseph Palermo says:

    @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

Add New Comment Cancel reply

Your email address will not be published.

Joe Moore

Joe Moore
New York

Recent Posts

  • How We Use tmux for Remote Pair Programming
  • Integrating Remote Developers: Intuitive, Flexible Video Conferencing
  • Pair Programming Matrix
Subscribe to Joe's Feed

Author Topics

agile (117)
pair programming (6)
remote (4)
remote pair programming (3)
tmux (1)
android (10)
mobile (10)
robolectric (4)
java (4)
c2dm (2)
testing (8)
apple (1)
ipad (1)
pivotal tracker (6)
sf.tug (2)
desert (2)
ruby on rails (13)
javascript (2)
capistrano (1)
palmpre (1)
active record (3)
activerecord (6)
mysql (1)
rubymine (1)
fun (4)
acts_as_fu (1)
rspec (2)
xp (1)
flash (1)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >