| Class | Audited::Audit |
| In: |
lib/audited/audit.rb
|
| Parent: | ::ActiveRecord::Base |
| user= | -> | user_as_model= |
| user | -> | user_as_model |
All audits made during the block called will be recorded as made by user. This method is hopefully threadsafe, making it ideal for background operations that require audit information.
Return an instance of what the object looked like at this revision. If the object has been destroyed, this will be a new record.