Class: ActiveRecord::Base
- Inherits:
-
Object
- Object
- ActiveRecord::Base
- Defined in:
- lib/cached_column.rb
Class Method Summary collapse
Class Method Details
.cached_column(column, options = {}, &block) ⇒ Object
27 28 29 |
# File 'lib/cached_column.rb', line 27 def self.cached_column(column, = {}, &block) before_save CachedColumn.new(column, , &block) end |