ruby-paranoia_2.1.3-1_all.deb


Advertisement

Description

ruby-paranoia - re-implementation of acts_as_paranoid for Rails 3

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe i386
Package name: ruby-paranoia
Package version: 2.1.3
Package release: 1
Package architecture: all
Package type: deb
Installed size: 31 B
Download size: 7.37 KB
Official Mirror: archive.ubuntu.com
Paranoia is a re-implementation of acts_as_paranoid for Rails 3, using much, much, much less code. You would use either plugin / gem if you wished that when you called destroy on an Active Record object that it didn't actually destroy it, but just "hid" the record. Paranoia does this by setting a deleted_at field to the current time when you destroy a record, and hides it by scoping all queries on your model to only include records which do not have a deleted_at field.

Alternatives

    Download

    Source package: ruby-paranoia

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install ruby-paranoia deb package:
      # sudo apt-get install ruby-paranoia

    Files

    • /usr/lib/ruby/vendor_ruby/paranoia.rb
    • /usr/lib/ruby/vendor_ruby/paranoia/rspec.rb
    • /usr/lib/ruby/vendor_ruby/paranoia/version.rb
    • /usr/share/doc/ruby-paranoia/README.md.gz
    • /usr/share/doc/ruby-paranoia/changelog.Debian.gz
    • /usr/share/doc/ruby-paranoia/copyright
    • /usr/share/rubygems-integration/all/specifications/paranoia-2.1.3.gemspec

    Changelog

    2015-11-30 - Pirate Praveen <praveen@debian.org> ruby-paranoia (2.1.3-1) unstable; urgency=medium * Initial release (Closes: #806696)

    Advertisement
    Advertisement