How to Install and Uninstall ruby-rails-observers Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 22,2024

1. Install "ruby-rails-observers" package

Please follow the instructions below to install ruby-rails-observers on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-rails-observers

2. Uninstall "ruby-rails-observers" package

Please follow the instructions below to uninstall ruby-rails-observers on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove ruby-rails-observers $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-rails-observers package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-rails-observers
Priority: optional
Section: universe/ruby
Installed-Size: 80
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 0.1.2-1
Depends: ruby | ruby-interpreter, ruby-activemodel (>= 4.0)
Filename: pool/universe/r/ruby-rails-observers/ruby-rails-observers_0.1.2-1_all.deb
Size: 12046
MD5sum: 2dde4d0ff13623a57cdf16d80df1e382
SHA1: 738d8af20b616fd888a2e1253046e50cda7f377c
SHA256: 24d6d9588e34c24f3859c65de3136ad0938e39925d50b1a96027f886bdf5c245
Description-en: toolkit to build Rails observers (part of Rails)
This package contains two observers: Active Record Observer and
Action Controller Sweeper.
.
Active Record Observer classes respond to life cycle callbacks to
implement trigger-like behavior outside the original class. This is a
great way to reduce the clutter that normally comes when the model
class is burdened with functionality that doesn't pertain to the core
responsibility of the class.
.
Active Record Sweepers are the terminators of the caching world and
responsible for expiring caches when model objects change. They do
this by being half-observers, half-filters and implementing callbacks
for both roles.
Description-md5: 39328a1f17dc5ae91166e269bf24a30f
Homepage: https://github.com/rails/rails-observers
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu