I'd like to propose a patch to the parsing of database.yml to allow using 
database uri's instead of specifying each config.

Current:

production:
  adapter: postgresql
  encoding: unicode
  pool: 5
  database: production_db
  username: user
  password: passwd
  host: database.host.com
  port: 5432

Proposed alternative:

production:
  uri: postgres://username:[email protected]:5432/production_db
  pool: 5

This would be my first feature patch to rails, so if y'all like the idea, 
I'd love some tips on how to implement it as well.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/BRUoZKOfWe8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to