Method: SuperModel::Base.raw_find

Defined in:
lib/supermodel/base.rb

.raw_find(id) ⇒ Object

:nodoc:



37
38
39
# File 'lib/supermodel/base.rb', line 37

def raw_find(id) #:nodoc:
  records[id] || raise(UnknownRecord, "Couldn't find #{self.name} with ID=#{id}")
end