mattgreen/nitron — pull request #21 by macfanatic (2012-07-16 15:08:49+00:00)
Title: Relation#includes_pending defaults to true

Default the NSFetchRequest to include pending changes when querying the context. Provided a method, `includes_pending(false)` to override the default setting of true, and the method is chainable.

Note that this doesn't have any effect on the finder if the object that hasn't been persisted is also not even in a context...

Usage:

```ruby
ctx = App.delegate.managedObjectContext
ctx.insertObject(Designer.new(id: 1))
Designer.find(1)
```