Using has_many_images :gallery_images raised an error