Skip to content

Instantly share code, notes, and snippets.

@noaelad
noaelad / create_test_releases.rb
Last active February 14, 2026 02:20
Test script for creating releases with comprehensive changes (development only)
# frozen_string_literal: true
# Run this in Rails console (development only):
# load 'lib/scripts/create_test_releases.rb'
#
# This creates:
# - Release 1: Base release with multiple resources
# - Release 2: Regular release with adds, modifies, removes
# - Test Release: Based on Release 1 with adds, modifies, removes
@noaelad
noaelad / TAXPLAT-565.md
Created February 10, 2026 00:43
TAXPLAT-565: Tax Attribute Migration Research

TAXPLAT-565: Tax Attribute Migration Research

Tax#allow_negative_amount

Current Behavior

  • Not a DB column - delegated from PayrollReferenceData::Tax (JSON reference data)
  • Type: T::Boolean, most taxes have false

Taxes with allow_negative_amount: true