Error deleting object with has many relationship

Random guess: it's the one called files. That makes rails load up
File, but oh no, it's found ruby's File class, which isn't an
activerecord class and hence doesn't respond to table_name.

Fred