Home Ruby 一次ruby内存泄漏
Post
Cancel

Ruby 一次ruby内存泄漏

def professions_w

- return RecruitInfo.where(nil) if professions.nil?  # 没问题

+ return RecruitInfo.where(nil) if professions.blank?  # 有问题

This post is licensed under CC BY 4.0 by the author.