My First Patch
I’ve submitted my first patch to the Rails trac today to speed up the OracleAdapter#indexes method (used in migrations). A client at work uses Oracle and in the production environment this method was taking upwards of 45 seconds to run per table!One of their DBAs gave me the SQL there, so I can’t take the credit, I just submitted it.
I hope it’s accepted. Incidentally, it works and has saved me a lot of time with migrations.
Edit: Yeah, turns out that since turning these adapters into gems patches for them shouldn’t be done through Rails trac. How irritating, but whatever. I’ve sent the patch do the current maintainer for review.

