app/helpers/rocket_job_mission_control/jobs_helper.rb
def job_custom_fields(job)
      attrs = job.attributes.dup
      DISPLAYED_FIELDS.each { |key| attrs.delete(key) }
      # Convert time zones for any custom time fields
      attrs.keys { |key| attrs[key] = attrs[key].in_time_zone(Time.zone) if attrs[key].is_a?(Time) }
      attrs
    end
# The fields that RJMC already displays, all other will be rendered under the custom section.
The fields that RJMC already displays, all other will be rendered under the custom section.
The fields that RJMC already displays all other will be rendered under the custom section .
def job_custom_fields(job)
      attrs = job.attributes.dup
      DISPLAYED_FIELDS.each { |key| attrs.delete(key) }
      attrs.keys { |key| attrs[key] = attrs[key].in_time_zone(Time.zone) if attrs[key].is_a?(Time) }
      attrs
    end
def job_custom_fields ( job ) attrs = job . attributes . dup DISPLAYED_FIELDS . each { | key | attrs . delete ( key ) } attrs . keys { | key | attrs [ key ] = attrs [ key ] . in_time_zone ( Time . zone ) if attrs [ key ] . is_a? ( Time ) } attrs end
The fields that RJMC already displays, all other will be rendered under the custom section.
The fields that RJMC already displays all other will be rendered under the custom section .
# Convert time zones for any custom time fields
job