adding foreign keys and associations to attr_accessible