We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fabf63 commit eda5dccCopy full SHA for eda5dcc
app/presenters/member_presenter.rb
@@ -24,6 +24,8 @@ def pairing_details_array(role, tutorial, note)
24
end
25
26
def displayed_dietary_restrictions
27
+ return [] if dietary_restrictions.nil?
28
+
29
(dietary_restrictions - ['other']).map(&:humanize).tap do |drs|
30
drs << other_dietary_restrictions if other_dietary_restrictions? && other_dietary_restrictions.present?
31
end.map(&:upcase_first)
0 commit comments