class Bootsy::ImageGallery
Public: A model that groups all images related to a Bootsy
container (also called a resource).
It is important to note that the relation gallery - resource is not mandatory due to the need of having galleries related to unsaved containers. This may lead to creation of orphan galleries. Because of that, this model includes the `destroy_orphans` method, that removes all galleries that do not point to resources older than the given time limit.