Rails foreign key

It does if you use the Scaffolding Extensions plugin [1]. I don't recommend using it as a generator, but it works great as a class method.

[1] Peak Obsession

Jeremy