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

makeFindOne example cache error: http://canjs.com/docs/can.Model.makeFindOne.html #471

Closed
norm-mp opened this Issue Sep 10, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@norm-mp

norm-mp commented Sep 10, 2013

Since FindOne will only return an object, shouldn't this be return self.model(data) instead of return self.models(data)?

@justinbmeyer

This comment has been minimized.

Show comment
Hide comment
@justinbmeyer

justinbmeyer Sep 10, 2013

Contributor

yes, it should. Good catch. Can you submit a pull request to fix it?

Contributor

justinbmeyer commented Sep 10, 2013

yes, it should. Good catch. Can you submit a pull request to fix it?

@daffl daffl closed this in 9dc4525 Sep 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment