class Cubism::Base include ActiveModel::Model include Cubism::Presence include GlobalID::Identifiable def self.find(id) new if id == "cubism-#{self.class.name.underscore}" end def id "cubism-#{self.class.name.underscore}" end end