class CFC::Errors::MissingProperty

Public Class Methods

default_message(obj, property) click to toggle source
# File lib/cfc/errors/missing_property.rb, line 4
def self.default_message(obj, property)
  "This #{obj.class.name} does not have a `#{property}' property. If you are accessing this object from a " \
  'relationship on another object, the property may not have been fetched.'
end