mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Calendar feed: due items (inspections, ADs, component limits, documents) as a private iCalendar link, hour-based dates projected from the past year's flying
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
87e30946fe
commit
98e943cf0a
14 files changed
+266
-7
No files matched your search
@@ -6,6 +6,7 @@ class User < ApplicationRecord
|
||||
has_one :air_trail_connection, dependent: :destroy
|
||||
has_many :certificates, -> { ordered }, class_name: "UserCertificate", dependent: :destroy
|
||||
has_many :entry_signatures, dependent: :nullify
|
||||
has_secure_token :calendar_token, length: 32
|
||||
|
||||
scope :active, -> { where(disabled_at: nil) }
|
||||
|
||||
|
||||
Reference in new issue
Block a user