rom-rb / rom-rails

Rails integration for Ruby Object Mapper
http://rom-rb.org
MIT License
159 stars 51 forks source link

Handle rails6 config #105

Closed cflipse closed 5 years ago

cflipse commented 5 years ago

Attempt to cleanly handle the new database configuration structures in Rails6.

Rails6 introduces a new configuration object, rather than keeping just a hash of connection options. Let's verify that we can use that object.

This should handle the base, legacy case for configuration keys, and fix #104. Handling the new multiple-database configuration is going to take another few refinements.