All blog posts tagged with datamapper

Datamapper paranoid delete quirks

Posted April 15, 2010

Recently discovered some quirks while working with Datamapper (ver 0.10.2). If you want to fetch deleted objects you need to use the syntax:

Model.with_deleted { Model.all }

Which by the way will only find deleted objects, if you want all the objects your going to have to do something like

Model.wit…

Read more

Displaying 1 post

Music

Splitting the Atomby Massive AttackPlayed on 2012/02/22 at 12:10AM
Babelby Massive AttackPlayed on 2012/02/22 at 12:04AM
In The Privacy Of Your Loveby Hot ChipPlayed on 2012/02/22 at 12:01AM
Dreams (Feat. Steve Nicks)by Deep DishPlayed on 2012/02/21 at 11:57PM
Kill Everybodyby SkrillexPlayed on 2012/02/21 at 11:52PM