Browse files

Better explanation of when to call DataMapper.setup

  • Loading branch information...
1 parent 0efea4c commit f9e495e0679804056bb6bf44cf6c78f2e223e272 @snusnu snusnu committed Mar 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 getting-started.markdown
@@ -44,7 +44,7 @@ require 'dm-core'
Specify your database connection
-You need make sure this is set before you define your models.
+You need to make sure to do this before you use your models, i.e. before you actually start accessing the database.
{% highlight ruby %}
# If you want the logs displayed you have to do this before the call to setup

0 comments on commit f9e495e

Please sign in to comment.