# Migration from ActiveRecord to DataMapper. Who tried it?

**URL:** <https://www.ruby-forum.com/t/migration-from-activerecord-to-datamapper-who-tried-it/145292>\
**Category:** Rails\
**Created:** [August 7, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/migration-from-activerecord-to-datamapper-who-tried-it/145292 "2008-08-07T16:04:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@stefan](https://www.ruby-forum.com/u/stefan)\
**Post date:** [August 7, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/migration-from-activerecord-to-datamapper-who-tried-it/145292/1 "2008-08-07T16:04:46Z")

</div>

Hey there,

the Datamapper ORM had my attention lately and the syntax and methods  
seem quite similar to activerecord. Even validations could be converted  
without much hassle.

The migration-free model changes sound like a dream.

Has anyone tried it and succeeded? Or are there other experiences with  
DataMapper in Rails?

Just courious…

Stefan

---

<div class="post-metadata">

**Author:** ![stefan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@stefan](https://www.ruby-forum.com/u/stefan)\
**Post date:** [August 7, 2008, 5:29pm UTC](https://www.ruby-forum.com/t/migration-from-activerecord-to-datamapper-who-tried-it/145292/2 "2008-08-07T17:29:23Z")

</div>

On 07 Aug 2008, at 16:04, Stefan B. wrote:

> the Datamapper ORM had my attention lately and the syntax and methods  
> seem quite similar to activerecord. Even validations could be  
> converted  
> without much hassle.
> 
> The migration-free model changes sound like a dream.
> 
> Has anyone tried it and succeeded? Or are there other experiences with  
> DataMapper in Rails?

There’s a post about it, but I haven’t tried it myself:  
[http://bustoutsolutions.com/blog/2007/09/17/getting-started-with-datamapper-and-rails/](http://bustoutsolutions.com/blog/2007/09/17/getting-started-with-datamapper-and-rails/)

It would indeed be nice if you could just distribute a rails app that  
could be just uploaded to a server (running mod\_rails) and on first  
connect would ask for a database name and then automigrate.

Best regards

Peter De Berdt
