当我运行$ bundle exec rake test时,我会得到以下失败:/home/ubuntu/workspace/sample_app/db/schema.rb doesn't exist yet. Run `rake db:migrate` to create it, then try again. If you do not intend to use a database, you should instead alter /home/ubuntu/workspace/sample_app/config/applicati
在toy_app练习中,将运行应用程序时显示的默认消息从“欢迎使用,您正在使用ruby on rails”更改为"hello,world!“时遇到了问题。通过将页面路由到application_controller文件中的hello方法。这是我在controller/application_controller中所拥有的: # Prevent CSFR attacks by raising an exception.
# For API's, you may want to use :null_ses