Paul Uithol
Paul Uithol
This should work as you want it to if you call `fetch({merge: true})`. We might set `merge: true` by default in `Collection.fetch`; I'm waiting for the smoke to clear on...
Sound useful for some cases. Could you maybe make a pull request out of this, and add a small test to demonstrate how to use this feature?
Is resetting the entire Model store an option? In that case, `Backbone.Relational.store.reset()` would do the trick.
If you need it, it is still possible to access the original key value by doing `ticket2.getRelation('game_id').keyContents`. I'm not sure keeping them around in the model itself would improve the...
I've been mulling these over, but I don't think I agree these should be part of a model's `attributes`: - It breaks the abstraction bb-rel offers; imo, `keySource` and `keyDestionation`...
If you want to handle events for a nested collection, you can bind to that collection, just like in plain Backbone. This should work (does work as far as I...
Hmm, sorry, this is something that should be working I guess (binding on `rsvps:add` and `rsvps:remove` from event).
Checked again, this seems fine for me? Action sequence: ``` console.log( 'set {response:yes} on r' ); r.set( { 'response': 'yes' } ); console.log( 'remove r from e' ); e.get( 'rsvps'...
@rjharmon: ahh, okay. The idea I got from your post was just that you had issues with `remove` events not getting fired. I don't think firing a `change` event for...
Sounds pretty useful. That would also mean that the name of the csrf cookie would have to be configurable though?