-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot persist model data #8
Comments
When exactly does this happen? Could you send me the failing code? |
Hello, I am having the same problem. All you have to do is define a validation in a model, and try to save an instance of that model while failing validation (i.e. save with a nil in a 'validates presence' field). Thanks |
I'm getting the same error -- rails 3.2.7:
My user.rb is fairly simple: class User < Architect4r::Model::Node
property :name
end Ideas? |
So the only mention of https://github.com/mongoid/mongoid/blob/master/lib/mongoid/persistence.rb#L308 Why would Architect4r be expecting a mongoid method? |
pehrlich, you need to have your neo4j server running and set properly in an architecht4r.yml The only way I was able to reproduce your error was when I shut my Neo4j server down. That error might should probably be caught, it is a bit confusing. |
When I try to save! an instance, it throws up this error
I looked into your code and could not find the "fail_validate!" method. Could you please help?
Cheers
-Prem
The text was updated successfully, but these errors were encountered: