Permalink
Browse files

Tidy persistence.

  • Loading branch information...
1 parent c140a4f commit 0bf3f731523d2700ec73f09ab0ed6b91b23ef0ca @elliotcm committed Mar 20, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/document/persistence.rb
@@ -46,13 +46,13 @@ def ==(other)
module ClassMethods
+ attr_accessor :collection
+
def create(params)
new_object = new(params)
new_object.save
return new_object
end
-
- attr_accessor :collection
def index(key_name, options={})
return if Util.blank?(key_name)

0 comments on commit 0bf3f73

Please sign in to comment.