This project is archived and is in readonly mode.
Specifying different ORM is non-obvious
-
Martin Gamsjaeger (snusnu)
- Tag changed from activemodel, rails3 to activemodel, datamapper, rails3
Hey,
Have a look at the following to get dm to run with rails3:
http://github.com/dkubb/rails3_datamapper
http://github.com/snusnu/datamapper_on_rails3
http://github.com/snusnu/dm-core/tree/active_support
http://github.com/snusnu/dm-more/tree/active_supportFirst you will need to install dm-core and your desired dm-more plugins from the active_support branches in my forks. Then you need to install rails3_datamapper and have a look at the sample app.
It works fine for me! My patches to make dm-core and dm-more compatible with active_support will be pulled into upstream datamapper repos sooner or later, then it won't be necessary to install dm-core and dm-more from my fork anymore.
If you have any questions, feel free to ping me in #datamapper, the various rails channels on irc.freenode.net or on github. I'm snusnu everywhere :)
-
Mike Riley
- State changed from new to resolved
Hello ravinggenius,
Looks like Martin replied to your issue with a valid solution, so I am going to mark this as resolved. If you need further assistance I'd hit Martin up in one of the suggested ways he mentioned. By all means if you come across any bugs or any issues specific to Rails on this, please let us know so we can get it fixed.
thanks
Mike Riley
twitter.com/wdperson