I often prefix my tablenames with something like ''it'' or ''it_'' in order to group tables together. How does that effect pluralization? Is it best not to prefix tables names in schemas I have control over, if I RoR is going to used? -- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Larry Kelly wrote:> I often prefix my tablenames with something like ''it'' or ''it_'' in > order to group tables together. How does that effect pluralization?Doesn''t pluralization usually happen at the end of table names? Dave
That''s my understanding. But, is Rails able to separate the ''dictionary word part'' from the prefix, and apply the correct plural ending? On 8/10/05, Dave Newton <newton-gsk2lYUJ8BhWk0Htik3J/w@public.gmane.org> wrote:> > Larry Kelly wrote: > > > I often prefix my tablenames with something like ''it'' or ''it_'' in > > order to group tables together. How does that effect pluralization? > > Doesn''t pluralization usually happen at the end of table names? > > Dave > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Larry Kelly wrote: That''s my understanding. But, is Rails able to separate the ''dictionary word part'' from the prefix, and apply the correct plural ending? I''m using prefixes with pluralization and it works fine for me. Jack On 8/10/05, Dave Newton <newton-gsk2lYUJ8BhWk0Htik3J/w@public.gmane.org> wrote: Larry Kelly wrote: > I often prefix my tablenames with something like ''it'' or ''it_'' in > order to group tables together. How does that effect pluralization? Doesn''t pluralization usually happen at the end of table names? Dave _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails -- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails -- Jack Christensen jackc-/SOt/BrQZzOj3I+7jmQ39gC/G2K4zDHf@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails