Closed RyanGannon closed 9 years ago
ActiveRecord does not need columns. It reads table structure in run time and constructs methods needed to access column values. If you do not have foreign keys in the database you will get empty class files.
Then I misunderstood this. Sorry.
After running
rmre -a mysql2 -s myhost -d mydbname -u myuser -p mypassword -o temp
I get files for each table, all correctly named, but none of the columns are listed.My versions; Rails 4.2.1 ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]