Rails3 rake db:test:prepare does not load stored procedures

see #5849 Rails3 rake task db:test:prepare no longer handles stored procedures - Ruby on Rails - rails

Stored procedures that are created using AR migrations show up in the development and production databases are not added to the test database. This is creating a fair degree of difficulty with our test environment since it means that we must create the test database using the Rails2 branch and then switch to the rrails3 branch and run our tests by hand.

If somebody in the know could take a look into this problem it would be greatly appreciated.

The ticket is marked as invalid. Did you try the solution that Michael presented in the comments on the ticket?