Module: ColumnTimestamps::ClassMethods
- Defined in:
- lib/column_timestamps.rb
Instance Method Summary collapse
Instance Method Details
#timestamped_column_names ⇒ Object
10 11 12 |
# File 'lib/column_timestamps.rb', line 10 def @timestamped_column_names ||= self.column_names.select { |c| self.column_names.include?("#{c}_updated_at") } end |