tried out has many associations in the console and added the file as has_many_associations_in_console