class ViewModel::ActiveRecord::Controller::ViewmodelIdSerializer
Viewmodel ids are permitted to be either integers or strings
def initialize
def initialize super(::Object) end
def load(val)
def load(val) case val when ::Integer, ::String val else raise IknowParams::Serializer::LoadError.new( "Incorrect type for #{self.class.name}: #{val.inspect}:#{val.class.name}") end end