开发者

Rails 3 / Ruby error in view : couldn't parse YAML at line 20 column 14

开发者 https://www.devze.com 2023-02-15 19:07 出处:网络
I get this error in view: couldn\'t parse YAML at line 20 column 14 Here: Rails internationalisation help

I get this error in view: couldn't parse YAML at line 20 column 14

Here: Rails internationalisation help

And here: Rails 3 simple form error 开发者_如何学编程: couldn't parse YAML

How do I fix it?


You most likely did not end put a whitespace at the end of your YAML file.


Putting the Quotes fixed my error: couldn't parse yaml at line 18


Put the password in config/database.yml into quotes

username: dbadmin  
password: "?!?!?pass?!?!?word?!?!"
0

精彩评论

暂无评论...
验证码 换一张
取 消