module NormalizeAttributes::Callbacks::InstanceMethods
Private Instance Methods
normalize_attributes()
click to toggle source
# File lib/normalize_attributes/callbacks.rb, line 86 def normalize_attributes return unless self.class.normalize_options self.class.normalize_options.each do |attribute, items| items.each do |item| NormalizeAttributes.apply_normalizers(self, attribute, *item.dup) end end end