Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
siuying committed May 9, 2012
1 parent 39f1183 commit b5158b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -25,6 +25,14 @@ Motion::Project::App.setup do |app|
app.pods do
dependency 'NanoStore'
end

# You may want to make sure nano store is loaded before your models
app.files_dependencies("app/models/my_model_class.rb" => [
"vendor/NanoStoreInMotion/lib/nano_store.rb",
"vendor/NanoStoreInMotion/lib/nano_store/model.rb",
"vendor/NanoStoreInMotion/lib/nano_store/object_ext.rb"
])

end
```

Expand Down

0 comments on commit b5158b6

Please sign in to comment.