动态查找方法 # find_by_* 这类动态的方法性能不好 # 差的 user = User.find_by_name("John") # 好的 user = User.find_by(name: "John")