hi, 我正在学习 http://guides.rubyonrails.org/getting_started.html 做到 生成表,翘命令 rake db:migrate,报错:
== CreatePosts: migrating ==================================================== -- create_table(:posts) rake aborted! An error has occurred, this and all later migrations canceled:
private method `String' called for #
Tasks: TOP => db:migrate (See full trace by running task with --trace)
不知什么原因?