Skip to content

Commit

Permalink
Merge commit 'ben/regs/head/merb_dm_set_fix' into 1.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed Jan 16, 2009
2 parents 82b14c8 + 775340c commit 1f47271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merb_datamapper/lib/merb_datamapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def self.run

# make sure all relationships are initialized after loading
descendants = DataMapper::Resource.descendants.dup
descendants.each do |model|
descendants.dup.each do |model|
descendants.merge(model.descendants) if model.respond_to?(:descendants)
end
descendants.each do |model|
Expand Down

0 comments on commit 1f47271

Please sign in to comment.