Hi Ryan: Nice work. The only issue I ran into was during testing (when I don't want the database to be dynamic). So I just added: ``` def choose_database_from_host return if Rails.env == 'test' # <-- RAILS_ENV for Rails 2 ... ```
Hi Ryan:
Nice work. The only issue I ran into was during testing (when I don't want the database to be dynamic). So I just added: