Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better explanation of when to call DataMapper.setup

  • Loading branch information...
commit f9e495e0679804056bb6bf44cf6c78f2e223e272 1 parent 0efea4c
@snusnu snusnu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  getting-started.markdown
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.