also support not having a foreign_key defined in rails 2
v0.4.3