diff --git a/config/initializers/transam.rb b/config/initializers/transam.rb index d9348546..502d4254 100755 --- a/config/initializers/transam.rb +++ b/config/initializers/transam.rb @@ -1,7 +1,7 @@ Rails.application.config.rails_admin_cpt_lookup_tables = ['CapitalProjectType', 'MilestoneType'] begin - Rails.application.config.asset_auditor_config = {class_name: 'TransitAsset', query: {fta_asset_category: FtaAssetCategory.where.not(name: 'Infrastructure').ids, replacement_status_type_id: ReplacementStatusType.where.not(name: 'Underway').ids + [nil]}} + Rails.application.config.asset_auditor_config = {class_name: 'TransitAsset', query: {fta_asset_category: FtaAssetCategory.where.not(name: 'Infrastructure').ids, replacement_status_type_id: ReplacementStatusType.ids + [nil]}} rescue puts "skipped loading Rails.application.config that depends on DB" -end \ No newline at end of file +end diff --git a/lib/transam_cpt/version.rb b/lib/transam_cpt/version.rb index 0611d5c6..77c0d2d0 100644 --- a/lib/transam_cpt/version.rb +++ b/lib/transam_cpt/version.rb @@ -1,3 +1,3 @@ module TransamCpt - VERSION = "2.38.0" + VERSION = "2.40.0" end