Default sort on tax_reference.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
class TaxReference < ApplicationRecord
|
||||
default_scope { order(year: :desc) }
|
||||
validates :year, uniqueness: true
|
||||
MAX_MONTHLY_HOURS = 172
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ set :rvm_ruby_version, '2.6.6'
|
||||
# Default value for :linked_files is []
|
||||
# append :linked_files, "config/database.yml"
|
||||
append :linked_dirs, 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', '.bundle', 'public/system', 'public/uploads'
|
||||
append :linked_files, 'config/secrets.yml', 'config/master.key', 'config/credentials.yml.enc', '.env'
|
||||
append :linked_files, 'config/secrets.yml', 'config/master.key', 'config/credentials.yml.enc', '.env', 'tmp/restart.txt'
|
||||
|
||||
# Default value for linked_dirs is []
|
||||
# append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "public/system"
|
||||
|
||||
Reference in New Issue
Block a user