metabahn/farmer_john — Issue #11: Child to Parent
Author: bryanp
Created: 2011-10-28 21:38:56+00:00
State: open

Just as I can do this:

```ruby
dataset do
User.constrain(:email).seed({
:email => 'john@gmail.com',
:password => 'test',
:password_confirmation => 'test',
:name => 'John Doe',
:statuses => [0]
})

Status.seed({
:text => 'foo'
})
end
```

This should also work:

```ruby
dataset do
User.constrain(:email).seed({
:email => 'john@gmail.com',
:password => 'test',
:password_confirmation => 'test',
:name => 'John Doe'
})

Status.seed({
:text => 'foo',
:user => 0
})
end
```