Module: StrictLoading::AbstractReflection
- Defined in:
- lib/strict-loading/abstract_reflection.rb
Instance Method Summary collapse
Instance Method Details
#strict_loading_violation_message(owner) ⇒ Object
3 4 5 6 7 |
# File 'lib/strict-loading/abstract_reflection.rb', line 3 def (owner) = "`#{owner}` is marked for strict_loading." << " The #{polymorphic? ? "polymorphic association" : "#{klass} association"}" << " named `:#{name}` cannot be lazily loaded." end |