Changed deprecated Datamapper::Resource to Datamapper::Model