Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

finalize should be called.

  • Loading branch information...
commit cd1ac5e9ead6fb328fc370f74770898ee8bece98 1 parent 99d7393
@namelessjon namelessjon authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  book/Models.markdown
View
3  book/Models.markdown
@@ -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!
Please sign in to comment.
Something went wrong with that request. Please try again.