There is no reverse, it's a regular has_one belongs_to association. i just wanto to be able to delete both records either by deleting a page from the pages_controller or by deleting a menu_item from the menu_items_controller. in both cases both the page and the menu item need to be deleted like a dependent association, but it's impossible to put dependent => destroy on both
-- Posted via http://www.ruby-forum.com/. -- 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.

