class ViewModel
def model
if necessary we assume that the wrapped model is the first attribute. To
ViewModels are often used to serialize ActiveRecord models. For convenience,
def model self.public_send(self.class._attributes.first) end
def model self.public_send(self.class._attributes.first) end