pedz
2007-Jul-25 21:47 UTC
when to use singular and plurals in such things as script/generate?
This is not really a question about when to use singular or plurals. But a question about changing the Usage files for such generators as model, resource, scaffold, etc. I personally find it hard to figure out if I should give script/ generate a singluar or a plural. I know in the past (using Rails 1.2) I gave it the wrong one and had to back it out and redo it. My question is should I open a trac with the Usage statements with a line added such as: "Usually the model argument is singluar" I know there are exceptions to this -- thats why I put "Usually". Does anyone else have trouble with this? I''m happy to submit a patch if others think it would be useful. Thanks, Perry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Michael Koziarski
2007-Jul-26 22:07 UTC
Re: when to use singular and plurals in such things as script/generate?
> I personally find it hard to figure out if I should give script/ > generate a singluar or a plural. I know in the past (using Rails 1.2) > I gave it the wrong one and had to back it out and redo it.I can''t think why you''d *want* to pass it a plural, unless you''re thinking in a really ''table centric'' manner. But yes, I can''t really think of a valid reason why the documentation needs to emphasize the ability to use the plural form. -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---