Permalink
Browse files

removed unnecessary support methods added into core in 0.6.x

  • Loading branch information...
jrwest committed Nov 16, 2010
1 parent 5bbbb6e commit 72a893c440571104efba8cc6de09cd1a0e316b44
Showing with 0 additions and 16 deletions.
  1. +0 −16 lib/rails/mongomatic/support.rb
@@ -5,22 +5,6 @@ def self.included(base)
base.extend ClassMethods
end
- def new_record?
- new?
- end
-
- def persisted?
- !(new? || removed?)
- end
-
- def to_key
- (new_record?) ? nil : [to_param]
- end
-
- def to_param
- self['_id'].to_s
- end
-
def merge!(hash)
return true unless hash
merge(hash)

0 comments on commit 72a893c

Please sign in to comment.