Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a note to the README

  • Loading branch information...
commit 62fe5cd66e34143e6d4fc686b43e97d167aca841 1 parent b8cc062
@seejohnrun authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.