mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Restore versions
DB table and add learning tests
This commit is contained in:
parent
5c8e507b93
commit
647bf4c397
5 changed files with 84 additions and 8 deletions
|
@ -1,10 +1,3 @@
|
|||
# the following line is required for PaperTrail >= 4.0.0 with Rails
|
||||
PaperTrail::Rails::Engine.eager_load!
|
||||
|
||||
PaperTrail::Version.module_eval do
|
||||
self.abstract_class = true
|
||||
end
|
||||
|
||||
# Store console and rake changes in versions
|
||||
if defined?(::Rails::Console)
|
||||
PaperTrail.whodunnit = "console-#{`whoami`.strip}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue