primary_key_name is deprecated in Rails 3.2, use foreign_key instead

Signed-off-by: Steve Finkelstein <sf@stevefink.net>