module NormalizeAttributes::Callbacks
Attributes
normalize_options[RW]
Public Class Methods
included(base)
click to toggle source
# File lib/normalize_attributes/callbacks.rb, line 49 def self.included(base) base.instance_eval do extend ClassMethods include InstanceMethods before_validation :normalize_attributes class << self attr_accessor :normalize_options end end end