Remove observers.
commitc9f78b61c4167029916dc475f0e3e2968a5b0dec
authorHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>
Tue, 27 Feb 2018 11:56:00 +0000 (27 12:56 +0100)
committerHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>
Wed, 28 Feb 2018 12:30:57 +0000 (28 13:30 +0100)
tree6b0d7968e7189656482ef56ae2bb4660b2209a31
parent60d878d0a0bfd7ba89aae8fc7cf4dac6400fb58e
Remove observers.

When using observers there is always an error only in production mode:
  vendor/bundle/ruby/2.3.0/gems/rails-observers-0.1.5/lib/rails/observers/action_controller/caching/sweeper.rb:3:in
  `<module:Caching>': uninitialized constant ActiveRecord::Observer (NameError)

Running ECS on SLES12 with a mysql database works fine. Probably it's
the fault of the pg adapter. The newest version is 1.0, but for that you
need Rails 5.1.x. So we have to investigate when upgrading to Rails 5.

See also: https://github.com/rails/rails/pull/31671
Gemfile
app/models/logging_observer.rb [deleted file]