1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/models/history_value.rb

16 lines
288 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# Setting values, kept history of modifications
class HistoryValue < Footprintable
2018-12-17 16:02:02 +01:00
belongs_to :setting
belongs_to :invoicing_profile
2022-11-17 11:47:47 +01:00
delegate :user, to: :invoicing_profile
after_create :chain_record
2021-04-16 16:03:10 +02:00
def sort_on_field
'created_at'
2020-07-21 19:25:21 +02:00
end
2018-12-17 16:02:02 +01:00
end