This program is based on the Annotate Models plugin written by Dave Thomas and VisualizeModels plugin by Nils Franzen.
For more information about Annotate Models, see http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Tech/Ruby/AnnotateModels.rdoc
For more information about Visualize Models, see http://visualizemodels.rubyforge.org/
Authors:
Abhilash M A
Nils Franzen (Visualize Models)
Dave Thomas (Annotate Models)
Released under the same license as Ruby. No Support. No Warranty.
Gem which show/delete the orphan records in your Rails application
Add it to your Gemfile:
gem 'orphan_records'
Run the following command to install it:
bundle install
rake orphan_records:show # this rake task will show the list of orphan records
rake orphan_records:delete # this rake task will delete the orphan records