class Identifiable::Errors::ColumnMustBeASymbolError
Public Class Methods
new(column_value)
click to toggle source
Calls superclass method
# File lib/identifiable/errors.rb, line 6 def initialize(column_value) column_value_string = column_value.to_s || 'nil' column_value_class = column_value.class.to_s super("The identifiable's column must be a symbol. You passed in #{column_value_string}, which was a #{column_value_class}.") end