ãã¤ãããããããªããªã£ã¦æ··ä¹±ããã®ã§èª¿ã¹ã¦ã¾ã¨ãããå®é¨ã«ä½¿ã£ãã¢ã㪠https://github.com/kyanny/backbone_sync_rails_app ããã³ãã¨ã³ãã Backbone.jsãããã¯ã¨ã³ãã Rails ã¨ãã¦ã fetch/save/destroy ãããã®å ´åãå¿ ã token ã¨ãããã©ã¡ã¼ã¿ãä»ä¸ãããå ´åããããã以ä¸ã®ããã«ãªãã fetch (id ãªã) fetch ã«ãã©ã¡ã¼ã¿ãã¤ãããå ´å㯠data: {token: 'abc'} ã®å½¢ã§ãªãã·ã§ã³ã渡ãã user = new User user.fetch data: token: 'abc' GET http://localhost:3000/users?token=abc Started GET "/users?token=abc" for 127.0.0.1 at 20
{{#tags}}- {{label}}
{{/tags}}