Method: Wgit::Model.common_update_data

Defined in:
lib/wgit/database/model.rb

.common_update_dataHash

Common fields when updating a record in the DB.

Returns:

  • (Hash)

    Update fields common to all models.



46
47
48
49
50
# File 'lib/wgit/database/model.rb', line 46

def self.common_update_data
  {
    date_modified: Wgit::Utils.time_stamp
  }
end