orgsync/active_interaction — pull request #212 by tfausak (2014-08-14 22:25:28+00:00)
Title: Fix #168; return results from invalid outcomes

Fixes #168.

``` irb
>> class Example < ActiveInteraction::Base
>> boolean :b
>> def execute
>> errors.add(:b, 'falsey') unless b
>> :something
>> end
>> end
=> nil
>> outcome = Example.run(b: false)
=> #, @messages={:b=>["falsey"]}>, @_interaction_result=:something, @validation_context=nil, @_interaction_valid=false>
>> outcome.invalid?
=> true
>> outcome.result
=> :something
```

Needs from @AaronLasseigne.

(Like #211, this should be merged into `v2.0.0`.)