[DataMapper] Re: Documentation patches wanted

2010-07-23 Thread tcw
Thanks, Martin for updating the Docs. The new comments are very very helpful! I was looking for these. My comments are related to the datamapper.org/docs/associations: 1. Declaring Associations: Is there a detail explanation of the naming convention (i.e. pluralization, etc.) used by DM? 2.

[DataMapper] Re: Documentation patches wanted

2010-07-20 Thread Kevin
Another suggestion would be more info on exactly what paranoid does in terms of the get methods and destroy methods (i.e. nothing to destroy, but adds checks against the pranoiddeleted boolean or datetime being null). More info about repositories and how to change them. Perhaps an example case

Re: [DataMapper] Re: Documentation patches wanted

2010-07-18 Thread Martin Gamsjaeger
Kevin, On Sun, Jul 18, 2010 at 07:50, Kevin inspir...@gmail.com wrote: It'd be nice if http://datamapper.org/docs/associations included mention of the name of the Resource table created, which keys/etc.  Or how to auto_migrate! it to get it created..  As is, its rather hard to actually 'get

[DataMapper] Re: Documentation patches wanted

2010-07-18 Thread Kevin
Nice work :) I should probably split it to a new topic, but about the belongs_to, in my case sometimes users have an extra userdata table with a bunch of optional things. So I want to basically do something like :@user.udata.find_or_create (which is how it would work in AR), but in DM it calls