soveran/ohm — Issue #38: Joining an association doesn't set the association id
Author: stouset
Created: 2011-11-11 20:47:22+00:00
State: open

```ruby
foo = Foos[1]
foo.bars << Bar.create
```

The created `Bar` doesn't have its `foo_id` set. Worse, it's added to the Redis `Bar:foo_id:MQ==` set (`Bar`s with `foo_id == 1`), so a `Bar.find(:foo_id => 1)` returns the `Bar`, even though its `foo_id` is nil.