Browse files

Added a bit of documentation to the acts_as_restful method.

  • Loading branch information...
1 parent 48332ec commit 91f8ab72c4250e93261334be95bbd74ae61b2658 @treybean treybean committed Feb 18, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/acts_as_restful_list.rb
1 lib/acts_as_restful_list.rb
@@ -9,6 +9,7 @@ module ClassMethods
# +acts_as_restful_list+ makes the class it is called on automatically behave like an
# ordered list. There are a number of options you can set:
# * +column+: The column to use as the position column. It's set to position by default.
+ # * +scope+: The column to scope the list to. It takes a symbol with our without the _id.
def acts_as_restful_list(options = {})
include InstanceMethods

0 comments on commit 91f8ab7

Please sign in to comment.