public
Description: DataMapper - Core
Homepage: http://datamapper.org
Clone URL: git://github.com/sam/dm-core.git

Comments for sam's dm-core   feed

josevalim commented on sam/dm-core Sun Jan 04 05:04:07 -0800 2009
Comment in 83ea752:

Awesome! :)

geemus commented on sam/dm-core Thu Dec 18 20:20:55 -0800 2008
Comment in db5fbb9:

I did not realize the inheritance expectation existed (but see it now in other places). This makes things make more sense, although it means I will need to rewrite some code to be more explicit in many cases. We should probably reflect these expectations in the documentation. For now I will revert the changes.

dkubb commented on sam/dm-core Thu Dec 18 19:31:51 -0800 2008
Comment in db5fbb9:

The intention with DataMapper is that behavior defined outside of an explicit repository block should be inherited by all other repositories. It helps if you try not to think of the “default” repository as being the same as an explicit repository, think of it as the parent to all other repositories, and that they inherit all behavior from it.

geemus commented on sam/dm-core Thu Dec 18 10:15:31 -0800 2008
Comment in db5fbb9:

I had intended to run against dm-more, but forgot. (they just finished, and did all pass). Thanks for the reminder.

dkubb commented on sam/dm-core Thu Dec 18 01:13:43 -0800 2008
Comment on spec/integration/type_spec.rb L242 in db5fbb9:

Actually this behavior is wrong. Since the paranoid properties were defined in the default repository, every other respository should inherit the same properties and behavior of the defaul repo. However if you were to define those paranoid properties in a second non-default repository, they should not be shared.

dkubb commented on sam/dm-core Thu Dec 18 01:10:53 -0800 2008
Comment in db5fbb9:

monki, did you also test this with all of sam/dm-more? Changes should only be committed to sam/dm-core if all specs pass for both sam/dm-core and sam/dm-more. I have no reason to believe they will fail, but full testing should be done prior to commits to the stable sam/dm-core branch.

dkubb commented on sam/dm-core Sun Nov 16 04:27:38 -0800 2008
Comment in 3e11428:

Luis,

luislavena commented on sam/dm-core Sun Nov 16 03:46:26 -0800 2008
Comment on Rakefile L18 in 3e11428:

Hey Dan,

advany commented on sam/dm-core Thu Oct 09 09:02:42 -0700 2008
Comment on lib/dm-core/resource.rb L291 in 3558f1d:

thnx for fxing this,

lukesutton commented on sam/dm-core Tue Sep 30 22:27:32 -0700 2008
Comment in a7106d3:

Certainly! I’ll make that my next commit.

dkubb commented on sam/dm-core Tue Sep 30 21:05:56 -0700 2008
Comment in a7106d3:

Luke, would you mind adding a spec for this? Some of the code in ManyToMany associations is rather nasty, and will need some cleanup soon.. I would hate for this behavior to be unknowingly reverted during a refactor session — it is really important to me that DM handle namespaced models.

dkubb commented on sam/dm-core Sat Sep 27 18:45:32 -0700 2008
Comment in b07ba40:

Could this be done inside a loop to cut down on unecessary boilerplate code? eg:

namelessjon commented on sam/dm-core Sat Sep 27 16:46:55 -0700 2008
Comment in de479d9:

It’s an issue caused by the constants not being defined until later that this commit was intended to fix, so autoload wouldn’t help.

benburkert commented on sam/dm-core Sat Sep 27 16:30:36 -0700 2008
Comment in de479d9:

why not use autoload?

djwonk commented on sam/dm-core Sat Sep 27 12:04:32 -0700 2008
Comment in de479d9:

I don’t have Postgres installed. Your change, above, prevented Merb from starting for me:

dkubb commented on sam/dm-core Sun Sep 14 07:58:19 -0700 2008
Comment on lib/dm-core/adapters/data_objects_adapter.rb L138 in 7a8b498:

Would it be possible to just use DataObjects::URI.new here directly?

geemus commented on sam/dm-core Wed Sep 10 17:59:14 -0700 2008
Comment in fbdcf84:

I’m on it…

dkubb commented on sam/dm-core Wed Sep 10 17:48:32 -0700 2008
Comment in fbdcf84:

I think what sam is trying to say (emphatically ;-) ) is that DM::PropertySet#defaults already returns the properties in a model that are non-lazy, exactly the same as this new DM::Model#eager_properties method does.

felix commented on sam/dm-core Mon Sep 01 03:30:43 -0700 2008
Comment in fbdcf84:

pardon? ;-)

sam commented on sam/dm-core Sun Aug 31 15:02:39 -0700 2008
Comment in f44ba8c:

Each Repository should get it’s own PropertySet with dups of the properties in the :default PropertySet, so I’m at a loss to explain this. It looks like cruft left-over from another strategy like Properties that can bind on-the-fly to multiple repositories.