Find ActiveRecord models
ProprietaryIdentify ActiveRecord model classes in Ruby on Rails applications. Detects classes whose superclass chain reaches ApplicationRecord or ActiveRecord::Base, taking the table name from an explicit self.table_name, from the single-table inheritance parent that owns the table, or by pluralizing the class name, and skipping abstract classes. Also detects connects_to and establish_connection connections and Mongoid documents, and joins the database type from the adapter: of config/database.yml.
io. moderne. prethink. calm. FindActiveRecordModelsmod run . --recipe= io. moderne. prethink. calm. FindActiveRecordModelsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.