Open andyxhadji opened 10 years ago
Do you mean something similar to this: Post.where(user: current_user.to_pointer).execute
?
Exactly, and also is there an example saving objects with the User as an author of a Post? I'm trying to find methods that could help me out, but I'm very new to parse_resource . Thanks for the help
I haven't used parse_resource in a few months but this should work:
post = Post.find(1)
author = Author.find(1)
post.author = author
Is it still possible to, for example, search for a list of objects where the user is a User object? If so, does anyone have a code sample of their own project they can share as an example?