Does anyone also feel like there should be a polymorphic validator in rails?
I often use this code https://gist.github.com/lifeiscontent/59f41121ef910941758a9b11083a9bba when validating a polymorphic address model. I feel like this kind of validation should be baked into rails. What does everyone else think? Thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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]. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
