Disaster

Manage indexed records ith ease.

Installation

  • bundle: bundle add disaster
  • gem: gem install disaster

Usage

  1. create user

    Disaster.id.make "User Nickname", { ... Hash of User attributes ... }
    
  2. add note

    Disaster["User Nickname"].add tag: ['Site Name', 'Department'], memo: "A note about a site.", img: "base64 image"
    
  3. map notes

    Disaster["User Nickname"].map { |note| note }