active-record中有一个方便的动态属性find_or_create_by:模型。Find_or_create_by_ <attribute>(:<attribute>