Home Rails Activerecord的模型中,不能用hash作为列名字
Post
Cancel

Rails Activerecord的模型中,不能用hash作为列名字

如题。否则会报错 Type error,  can not convert String to Integer 

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