Class: TestData::RecordsDumpMetadata
- Inherits:
-
Object
- Object
- TestData::RecordsDumpMetadata
- Defined in:
- lib/test_data/records_dump_metadata.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
3 4 5 6 7 |
# File 'lib/test_data/records_dump_metadata.rb', line 3 def call ActiveRecord::InternalMetadata .find_or_initialize_by(key: "test_data:last_dumped_at") .update!(value: Time.now.utc.inspect) end |