Fix Ruby on Rails Error “Blocked host: lvh.me”

How to fix rails error “Blocked host: lvh.me” :

Add the code below to file config/initializers/development.rb just before the end script tagĀ  :

config.hosts << "lvh.me"

 

Scroll to Top
%d bloggers like this: