pascalh1011/migrant — Issue #12: Belongs to with class_name specific doesn't work
Author: KieranP
Created: 2011-11-24 22:13:25+00:00
State: open

Given the following:

```
class Post
belongs_to :author, :class_name => 'User'
end
```

Migrant is ignoring creating the author_id column. When I manually create the column and rerun the migration generator, I get the following:

```
> Post: 'author_id' is no longer in use. [(D)estroy / (I)gnore]:
```

Migrant needs better support for belongs_to associations with different primary keys.