Assuming tabs correspond to two subclasses
class Post
And in the view (maybe once per tab)
= form_for @post do |f| = f.select :section_id, SectionFoo.all
This should give you 85% of the way. You may need to: reject_if bidness on accepts_ * to avoid creating a new section and assigning the old section.
source share