Use DataObjects behind ActiveRecord
DataObjects provides a clean, ruby-like API into postgres, sqlite3 and mysql. Using it behind AR would greatly simplify the AR Adapter code.
5 comments
-
myabc
commented
An ActiveRecord DO Adapter (initially for MySQL) is now available: http://github.com/rsim/activerecord-do-adapter
@toddwf DataObjects/DataMapper now supports Oracle. See: http://blog.rayapps.com/2009/07/21/initial-version-of-datamapper-oracle-adapter/
-
toddwf
commented
I would vote for this if DataObjects supported Oracle
-
d.bussink
commented
We're actually going to work on more DO adapters in the future. We also really welcome any contributions from people with experience with other RDBMS.
-
Adminmattetti
(Admin, Rails)
commented
Talking with some DM guys, they suggested to either leave them as-is, or make em plugins. If AR standardized adapters to the DO API, then it would be easy to write more adapters for AR.
-
Adminmattetti
(Admin, Rails)
commented
What about the other AR adapters?