Skip to content

Instantly share code, notes, and snippets.

@brightredchilli
Created June 5, 2018 18:00
Show Gist options
  • Save brightredchilli/9d02f48ddfe08fdaed652f2d79f16a19 to your computer and use it in GitHub Desktop.
Save brightredchilli/9d02f48ddfe08fdaed652f2d79f16a19 to your computer and use it in GitHub Desktop.

Revisions

  1. brightredchilli created this gist Jun 5, 2018.
    1 change: 1 addition & 0 deletions print-all.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ActiveRecord::Base.send(:subclasses).map(&:name)