Can you limit the number of related records a given parent record has? Example. Class/Student relatoinship. A Class has_many students but I want to limit the size of a class to a max 30 (of course minimum or exact numbers would hopefully work the same way?)
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/aadce5fd-8e2a-4596-9b68-b88c952354a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

