Want to dump a legacy database to a schema.rb file from a JDBC connection? Yeah, me neither, but I have to. Since ActiveRecord is working, I can just use the SchemaDumper, right? That’s basically true, but, as of JRuby 0.9.0, I need a few additional tweaks.
For starters, the JDBC adapter doesn’t implement an indexes method. [...]