class Alchemy::Custom::Model::Errors::ParentNil

Public Class Methods

new(msg = nil) click to toggle source
Calls superclass method
# File lib/alchemy/custom/model/errors/parent_nil.rb, line 4
def initialize(msg = nil)
  msg = "You have define parent (use belongs_to method in controller" if msg.nil?
  super(msg)
end