Not sure how experienced you are with polymorphic assocs. I omitted some details chief of which is that you need two fields in your sections table: sectionable_id and sectionable_type. There's a shortcut for doing this in a rails migration t.references :sectionable , :polymorphic => true or something like that.
2009/4/30 Chris Hanks <[email protected]> > > Ah, this looks great! I'll try it out today. > > Thanks, Dan! > -- > Posted via http://www.ruby-forum.com/. > > > > -- Daniel Bush http://blog.web17.com.au http://github.com/danielbush/sifs/tree/master http://github.com/danielbush --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

