Then you need to know whether your animal is a tiger or lion (or bear
of course), and call the appropriate path helper. That kind of
messiness is exactly what inheritance (and other forms of
polymorphism) are great at solving.
correct. i am experimenting with polymorphic_path(resource) and eg polymorphic_url([blog, post]), but so far im not getting the result i want. i am having separate files and inherited models and also inherited controllers (those dont have eny defined actions yet)…but no go…