# Depends\_on polymorphic association

**URL:** <https://www.ruby-forum.com/t/depends-on-polymorphic-association/138768>\
**Category:** Rails\
**Created:** [May 27, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/depends-on-polymorphic-association/138768 "2008-05-27T16:15:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![starmaerker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Post date:** [May 27, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/depends-on-polymorphic-association/138768/1 "2008-05-27T16:15:37Z")

</div>

Hello everyone,

So I wrote this little piece of code:

[http://blog.stonean.com/2008/05/dependson.html](http://blog.stonean.com/2008/05/dependson.html)

Sorry for the blog link, but this was necessary for code formatting and  
long  
description.

Anyway, I just wanted to know if something like this already exists? If  
not, I would love feedback on how to make it better.

## thanks, andy

Andrew S.
