Permalink
Browse files

Fix formatting

  • Loading branch information...
1 parent d0979da commit 9895feefd08c75c00513b30b6a3cc90cd5237180 @solnic solnic committed May 6, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.md
View
@@ -21,13 +21,15 @@ Pretty profound impact. If you run the following code in ActiveRecord you'll
see all `false` results. Do the same in DataMapper and it's
`true` all the way down.
+``` ruby
repository do
@parent = Tree.first(:name => 'bob')
@parent.children.each do |child|
puts @parent.equal?(child.parent) # => true
end
end
+```
This makes DataMapper faster and allocate less resources to get things done.

0 comments on commit 9895fee

Please sign in to comment.