search for: forum_demo

Displaying 1 result from an estimated 1 matches for "forum_demo".

2011 Nov 24
4
How do I destroy all the posts when the board is destroyed?
...rd.destroy respond_to do |format| format.html { redirect_to(boards_url) } format.xml { head :ok } end end However, it does not work. Could anyone tell me how to destroy all the posts when the board is destroyed? My source code is following. http://dl.dropbox.com/u/40209252/forum_demo.tar.gz -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubsc...