Upgraded Rails to 6, getting Blocked host Error

后端 未结 6 1600
闹比i
闹比i 2021-02-03 19:41

I needed the new function in ActiveStorage to resize_to_fill so I upgraded to Ruby 2.5.1 and Rails 6.

ruby \'2.5.1\'

gem \"rails\", github: \"rails/rails\"
         


        
6条回答
  •  感情败类
    2021-02-03 20:30

    If you want to disable this functionality on your development environment, you can set

    config.hosts = nil in config/environments/development.rb.

提交回复
热议问题