rails/rails — pull request #5769 by gryphis (2012-04-07 10:46:55+00:00)
Title: Solve an error using 'rake db:create:all'

I tried: rake --trace db:create:all ==>
undefined method `[]' for nil:NilClass
/home/akt/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.1/lib/active_record/railties/databases.rake:31:in `block (4 levels) in '

Adding this patch, the error removed an the action worked.