We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When you create a object with embeds_one relation object keywords are not saved.
I have write a test with the error: rjurado01@b81db46
The problem is that when you uses this syntax parent['child.property'] before it is persisted, mongoid doesn't return anything:
parent['child.property']
parent = Parent.new(child: Child.new(name: 'name')) parent['child.new'] # this returns nil parent.save parent['child.new'] # this returns 'name'
And this gem uses this syntax in this line: https://github.com/mongoid/mongoid_search/blob/master/lib/mongoid_search/util.rb#L25
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When you create a object with embeds_one relation object keywords are not saved.
I have write a test with the error: rjurado01@b81db46
The problem is that when you uses this syntax
parent['child.property']
before it is persisted, mongoid doesn't return anything:And this gem uses this syntax in this line: https://github.com/mongoid/mongoid_search/blob/master/lib/mongoid_search/util.rb#L25
The text was updated successfully, but these errors were encountered: