On Mar 6, 2009, at 3:44 PM, Jeremy Evans wrote: > Also, note that belongs_to will be deprecated in the next version. > Use many_to_one.
Really? That's a shame, IMHO. I know it's from AR, but that doesn't mean it's bad :) In my opinion, has_many, belongs_to, and even the verbose habtm are all excellent names. "Book belongs_to :author". I can visualize that. "Author has_many :books". It is clear to me which table has the FK and references the other. "Jorble one_to_many :bongle" (Or is it bongles?) I really, truly, not-lying-because-it-helps-my-argument, have no idea which is the one and which is the many. I like my method calls (that take arguments and do something, as opposed to accessors) to be verbs. This isn't one, and I feel it. "Thing thing :thing". What? It's an easy set of method aliases to make by myself, but I think you should keep them. If anything, remove many_to_one and whatnot. :p --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en -~----------~----~----~----~------~----~------~--~---
