ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   Great article, but one question
Date:   2005-10-27 03:49:20
From:   curth
Response to: Great article, but one question

In many cases (although not all) Rails is smart enough to accept singular or plural as you just discovered with "has_many". That way you can choose the form that reads the best.


In this case I would say "has_many: recipes" because it reads more naturally.


1 to 1 of 1
  1. Great article, but one question
    2005-10-27 16:41:20  terry.sasaki [View]

1 to 1 of 1