rails/rails — pull request #9515 by senny (2013-03-02 14:22:15+00:00)
Title: fix load order of console sandbox

This fixes the load order problem described in #9513. It is not a complete fix for #9513 though. As pointed out by @nashby the load order was messed up so that `app.sandbox` was nil when the AR console initializer ran. This is now fixed.

Even after the fix the data created will not rollback. There is still something fishy going on with the sandboxing of the console. That's why I did not add a CHANGELOG entry but I think we should merge this to help other people, who are looking at the sandboxing problem.