datamapper.org Archives - 19 December 2014, Friday

  • 1.2.0 released

    datamapper.org 25 May '13, 11pm

    DataMapper Community Documentation Development Contribute Wiki Get Started DataMapper 1.2.0 released I'm pleased to announce that we have released DataMapper 1.2.0. This release is focused on bug fixes, performance improvements, internal refactoring and Rails 3.1 compatibility . Pleas...

  • Properties

    datamapper.org 10 Apr '13, 9am

    key for a property. They can be static values, such as 12 or "Hello" , but DataMapper also offers the ability to use a Proc to set the default value. The property becomes whatever the Proc returns, which will be called the first time the property is used without having first set a val...

  • Create, Save, Update and Destroy

    datamapper.org 21 Mar '13, 11pm

    Sometimes though, you either don't need the extra safety you get from dm-validations , or you don't want any callbacks to be invoked at all. In situations like this, you can use the bang(!) versions of the respective methods. You will probably find yourself using these unsafe methods ...

  • Using Git

    datamapper.org 02 Aug '12, 12pm

    DataMapper Community Documentation Development Contribute Wiki Get Started Using Git The DataMapper project uses the Git SCM. Committers need to use git to commit their code directly to the main repository. This page contains information on getting Git installed, getting source code w...

  • DataMapper - DataMapper

    datamapper.org 09 Jul '12, 11am

    DataMapper Community Documentation Development Contribute Wiki Get Started DataMapper is an Object Relational Mapper written in Ruby . The goal is to create an ORM which is fast, thread-safe and feature rich. To learn a little more about this project and why you should be interested, ...

  • DataMapper - Getting started with DataMapper

    datamapper.org 29 May '12, 6am

    DataMapper allows the use of natural primary keys, composite primary keys and other complexities. Because of this, when a model is declared with a belongs_to relationship the property to hold the foreign key cannot be initialized immediately. It can only be initialized when the parent...

  • DataMapper - Why DataMapper?

    datamapper.org 13 Apr '12, 12am

    There are still some limitations to the operations that #auto_upgrade! can perform. We're working hard on making it smarter, but there will always be scenarios where an automatic upgrade of your schema won't be possible. For example, there's no sane strategy for automatically changing...

  • DataMapper - Associations

    datamapper.org 18 Mar '12, 2pm

    Associations are a way of declaring relationships between models, for example a blog Post "has many" Comments, or a Post belongs to an Author. They add a series of methods to your models which allow you to create relationships and retrieve related models along with a few other useful ...

  • DataMapper - Why DataMapper?

    datamapper.org 03 Mar '12, 3am

    There are still some limitations to the operations that #auto_upgrade! can perform. We're working hard on making it smarter, but there will always be scenarios where an automatic upgrade of your schema won't be possible. For example, there's no sane strategy for automatically changing...