Monthly Archives: January 2013

Threaded Comments in Ruby on Rails

This is the basic structure of a threaded commenting system in Ruby on Rails (3.2.9). Comment model uses polymorphic associations to differentiate between which model it belongs to. config/routes.rb 123456resources :comments do   resources :comments end resources :posts do   … Continue reading

Posted in Uncategorized | Tagged | Leave a comment