Skip to content

Commit

Permalink
Remove tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
Freika committed Jan 29, 2025
1 parent e99e105 commit 8a309a2
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 60 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

# 0.23.6 - 2025-01-23
# 0.23.6 - 2025-01-29

### Added

Expand Down
7 changes: 0 additions & 7 deletions app/models/track.rb

This file was deleted.

1 change: 0 additions & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class User < ApplicationRecord
has_many :points, through: :imports
has_many :places, through: :visits
has_many :trips, dependent: :destroy
has_many :tracks, dependent: :destroy

after_create :create_api_key
before_save :strip_trailing_slashes
Expand Down
14 changes: 0 additions & 14 deletions db/migrate/20250123145954_create_tracks.rb

This file was deleted.

11 changes: 0 additions & 11 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions spec/factories/tracks.rb

This file was deleted.

15 changes: 0 additions & 15 deletions spec/models/track_spec.rb

This file was deleted.

1 change: 0 additions & 1 deletion spec/models/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
it { is_expected.to have_many(:visits).dependent(:destroy) }
it { is_expected.to have_many(:places).through(:visits) }
it { is_expected.to have_many(:trips).dependent(:destroy) }
it { is_expected.to have_many(:tracks).dependent(:destroy) }
end

describe 'callbacks' do
Expand Down

0 comments on commit 8a309a2

Please sign in to comment.