Module: MagicUserstamp::MagicColumns
- Defined in:
- lib/magic_userstamp/magic_columns.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(mod) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/magic_userstamp/magic_columns.rb', line 7 def self.included(mod) mod.extend(ClassMethods) mod.instance_eval do alias :columns_without_userstamp :columns alias :columns :columns_with_userstamp alias :stampable_on_without_magic_columns :stampable_on alias :stampable_on :stampable_on_with_magic_columns end end |