Is there a gem or plugin like https://github.com/eladmeidar/rails_indexes that works for rails3?
Is there a gem or plugin like https://github.com/eladmeidar/rails_indexes that works for rails3?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can paste following code in your console to know the missing foreign key indexes. This, however, is not as capable of the plugin that you refer to. It only searches for rails style foreign keys that have an
_idat the end of their column name.Source