diff options
author | Jeremy Kemper <jeremykemper@gmail.com> | 2014-04-01 16:45:15 -0500 |
---|---|---|
committer | Jeremy Kemper <jeremykemper@gmail.com> | 2014-04-01 16:49:52 -0500 |
commit | 9aa7c25c28325f62815b6625bdfcc6dd7565165b (patch) | |
tree | 344e8c2b156e279ac2476f1222dbf40c33e04c55 /actionpack/lib/action_dispatch/routing | |
parent | 5d0a4e0cb6134b86fc2795047aacb335c978e02e (diff) | |
download | rails-9aa7c25c28325f62815b6625bdfcc6dd7565165b.tar.gz rails-9aa7c25c28325f62815b6625bdfcc6dd7565165b.tar.bz2 rails-9aa7c25c28325f62815b6625bdfcc6dd7565165b.zip |
Clarify 'database does not exist' message and implementation.
* Clarify what the situation is and what to do.
* Advise loading schema using `rake db:setup` instead of migrating.
* Use a rescue in the initializer rather than extending the error
message in-place.
* Preserve the original backtrace of other errors by using `raise`
rather than raising again with `raise error`.
References 0ec45cd15d0a2f5aebc75e23d841b6c12f3ba763
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
0 files changed, 0 insertions, 0 deletions