see https://rails.lighthouseapp.com/projects/8994/tickets/5849-rails3-rake-task-dbtestprepare-no-longer-handles-stored-procedures 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. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Aaron Patterson
2010-Oct-22 20:56 UTC
Re: Rails3 rake db:test:prepare does not load stored procedures
On Fri, Oct 22, 2010 at 12:41:07PM -0700, byrnejb wrote:> see https://rails.lighthouseapp.com/projects/8994/tickets/5849-rails3-rake-task-dbtestprepare-no-longer-handles-stored-procedures > > 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? -- Aaron Patterson http://tenderlovemaking.com/