lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.
1.59k
stars
69
forks
source link
Fix NoMethodError: undefined method `group_by' for "db/migrate":String #88
Problem:
::ActiveRecord::VERSION::MAJOR
returns only the major version number but seems like the code is expecting the full string.I've printed
::ActiveRecord::VERSION::MAJOR
for all versions inAppraisals
: