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

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"

 

0

Share this post


%d bloggers like this: