Browse files

Added a note to the README

  • Loading branch information...
1 parent b8cc062 commit 62fe5cd66e34143e6d4fc686b43e97d167aca841 @seejohnrun committed Mar 30, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 README.md
View
10 README.md
@@ -30,6 +30,16 @@ Which will preselect only the fields that it needs, and if you do:
It will preselect everything it needs to do those queries efficiently.
+## Defining request levels
+
+ define_request_level :simple do
+ fields :one, :two, :three
+ notation(:name, :requires => [:this, :that]) { self.something }
+ requires :this
+ scope :published
+ scope :starts_with, 'a'
+ end
+
---
## Nesting

0 comments on commit 62fe5cd

Please sign in to comment.