diff --git a/.tool-versions b/.tool-versions index e1541b5a9..bef55a73c 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,4 +1,4 @@ -ruby 3.1.0 +ruby 3.3.0 nodejs 18.17.0 yarn 1.22.19 awscli 2.7.31 diff --git a/app/decorators/form_resource_decorator.rb b/app/decorators/form_resource_decorator.rb index c6896fcee..86d31003d 100644 --- a/app/decorators/form_resource_decorator.rb +++ b/app/decorators/form_resource_decorator.rb @@ -13,7 +13,7 @@ def initialize(work, current_user) @current_user = current_user end - def funders + def funders # @funders probably null for some reason @funders ||= begin empty_row = if pppl? && resource.funders.empty? PDCMetadata::Funder.new(PPPL_FUNDER_ROR, PPPL_FUNDER_NAME, PPPL_FUNDER_AWARD_NUMBER, nil) diff --git a/app/views/works/show.html.erb b/app/views/works/show.html.erb index c03051517..cb908e6e4 100644 --- a/app/views/works/show.html.erb +++ b/app/views/works/show.html.erb @@ -263,7 +263,7 @@ <% if @work.resource.funders.count > 0 %>