Skip to content

0xTosscobble/govtrack_budget

Repository files navigation

README

GovTrack Budget App

A simple Ruby on Rails application for tracking government budgets, departments, and transactions.

Features - - Create and manage budgets (e.g., Federal Budget 2024). - Categorize spending by departments (Education, Healthcare, Defense, etc.). - Track transactions (expenditures and allocations). - Basic user authentication (Admin user).

Tech Stack - - Ruby on Rails 7.2 (Ruby 3.0.0) - PostgreSQL (Database) - Render (Deployment)

Issues & Resolutions -

- ActiveRecord::InvalidForeignKey in BudgetsController#destroy
    - This error occurs when trying to delete a budget that has associated departments or transactions. To resolve this, you need to ensure that all associated records are deleted before deleting the budget. You can do this by adding `dependent: :destroy` to the associations in your models.

About

In Progress - Budget tracking application which will have the ability to import budget data and filter through it as needed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors