Check out example codes for "rails get list of tables". It will help you in understanding the concepts better.

Code Example 1

ActiveRecord::Base.connection.tables

Learn ReactJs, React Native from akashmittal.com