-
Notifications
You must be signed in to change notification settings - Fork 73
Arel ActiveRecord Integration
Integration of ARel/ActiveRecord with DataObjects will likely be done over two phases:
Update ARel and ActiveRecord to work with DataObjects, and pass all specs. This will be the proof of concept that DO can work with AR.
Create any adapters that are necessary to allow ARel/ActiveRecord to work with DO while supporting the existing API. (so that existing drivers can also work with AR)
Please note the reason for doing this in two stages, and not just doing everything "perfectly" in one step, is that we want to make sure there aren't any technical barriers in DO. If there are, then work on DO to resolve those issues can be done in parallel with the second stage.
Secondly, having a working "code spike" gives us something to use as a reference point when writing the adapters.
Thirdly, any non-technical issues can usually be resolved more quickly when actual working code is available.
h2. Current Status
Phase 1 is not yet complete.
- ARel passes all specs with SQLite3, MySQL and PostgreSQL.
h2. Outstanding Issues
h3. ActiveRecord integration (for Phase 1)
Work is still needed to update AR to work with the DO API. It has some code that uses the driver directly, and we need to update that code so that it uses the DO API instead.