fixes #12207 - objects with ancestors should not call ancestors if cached
up until now, ancestry objects always called their ancestors when linking to the object because to_param called get_title instead of title (which can be cached) this caused a LOT of pointless queries, slowed down Hosts#index alot
fixes #12207 - objects with ancestors should not call ancestors if cached
up until now, ancestry objects always called their ancestors when
linking to the object because to_param called get_title instead of title
(which can be cached)
this caused a LOT of pointless queries, slowed down Hosts#index alot