codebrew / backbone-rails

Easily use backbone.js with rails 3.1
MIT License
1.62k stars 255 forks source link

add support for patch method #136

Closed martinciu closed 10 years ago

martinciu commented 11 years ago

I wanted to send update request to rails backend but it sends whole object representation (with attributes not in attrs_accessible) which is not good. This commit implements original Backbone.sync type: 'patch' option.

westonplatter commented 10 years ago

@martinciu If you're looking for patch support, here's another option, http://westonplatter.com/railsy_backbone.

manusajith commented 10 years ago

@martinciu This is now fixed in master. Thanks.!