Skip to content


README mentions #create but I cannot find it #53

awendt opened this Issue · 1 comment

3 participants


As proposed by the README, I created a class:

class User
  include CouchPotato::Persistence

But when I try to create a user, I get

NoMethodError: undefined method `create' for User:Class

This is documented in the README section "Dirty tracking." Am I missing something? Or did the method get thrown out?


"CouchPotato tracks the dirty state of attributes in the same way ActiveRecord does"

Its only an example how the dirty tracking in ActiveRecord works. you have to use user
@langalex langalex closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.