# STI vs Polymorphic Associations

**URL:** <https://discuss.rubyonrails.org/t/sti-vs-polymorphic-associations/19749>\
**Category:** rubyonrails-talk\
**Created:** [October 27, 2007, 2:18am UTC](https://discuss.rubyonrails.org/t/sti-vs-polymorphic-associations/19749 "2007-10-27T02:18:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bala\_Paranj](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@Bala\_Paranj](https://discuss.rubyonrails.org/u/Bala_Paranj)\
**Post date:** [October 27, 2007, 2:18am UTC](https://discuss.rubyonrails.org/t/sti-vs-polymorphic-associations/19749/1 "2007-10-27T02:18:12Z")

</div>

I have a MasterEvent model. It has attributes that is required by another model Event. The user selects the MasterEvent model and I create the Event model by merging the attributes of the selected MasterEvent with the attributes that were presented for the Event model in the form.

I have association declarations in the MasterEvent and Event models. If I use STI does the subclasses inherit the association declarationed in a superclass? Should I use polymorphic associations? I read the AWD book but still not clear on these issues. TIA.
