Permalink
Browse files

finalize should be called.

  • Loading branch information...
namelessjon committed Mar 16, 2011
1 parent 99d7393 commit cd1ac5e9ead6fb328fc370f74770898ee8bece98
Showing with 3 additions and 0 deletions.
  1. +3 −0 book/Models.markdown
View
@@ -23,6 +23,9 @@ show started, and this example will include a 'Post' model.
property :created_at, DateTime
end
+ # Perform basic sanity checks and initialize all relationships
+ DataMapper.finalize
+
# automatically create the post table
Post.auto_upgrade!

0 comments on commit cd1ac5e

Please sign in to comment.