app/controllers/concerns/agilibox/api_controller_concern.rb in agilibox-1.9.5 vs app/controllers/concerns/agilibox/api_controller_concern.rb in agilibox-1.9.6

- old
+ new

@@ -35,10 +35,10 @@ .uniq(&:first) .to_h end def json_error_string_for_model(object) - json_errors_hash_for_model(object).values.map { |e| e[:full_message] }.join(", ") + json_errors_hash_for_model(object).values.pluck(:full_message).join(", ") end def render_not_found render_json_error t("errors.not_found"), status: :not_found end