mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
[bug] updating a setting does not chain new values
This commit is contained in:
parent
c0c9b2a980
commit
531e298b14
@ -2,6 +2,7 @@
|
||||
|
||||
- Fix a bug: (spanish) some translations are not loaded correctly
|
||||
- Fix a bug: some users may not appear in the admin's general listing
|
||||
- Fix a bug: updating a setting does not chain new values
|
||||
- Improved translations syntax according to YML specifications
|
||||
- [TODO DEPLOY] `rake fablab:fix:users_group_ids`
|
||||
|
||||
|
@ -7,6 +7,8 @@ class HistoryValue < ActiveRecord::Base
|
||||
belongs_to :setting
|
||||
belongs_to :user
|
||||
|
||||
after_create :chain_record
|
||||
|
||||
def chain_record
|
||||
self.footprint = compute_footprint
|
||||
save!
|
||||
|
Loading…
x
Reference in New Issue
Block a user