Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- User.all({
- success: function(users){
- $.each(users, function(index, user) {
- console.log("all: here I am, user " + user.email + " (id:" + user.id + ")");
- });
- }
- });
- User.find(1, {
- success: function(user) {
- console.log("find: here I am, user " + user.email + " (id:" + user.id + ")");
- }
- });
Add Comment
Please, Sign In to add comment