RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: dmin7b5
Site: http://blog.jeff-owens.com
You either have to change the Facebook Site URL or you hosts file. To edit your hosts file when you want to work on your app locally:
sudo nano /etc/hosts
Add:
127.0.0.1 www.yourdomain.com
Save the hosts file
Restart your browser.
Restart rails using port 80: rvmsudo rails s -p 80
Now when you go to www.yourdomain.com it should be hitting your local dev machine.
I get the same error on multi-word search too aesthetica
You either have to change the Facebook Site URL or you hosts file. To edit your hosts file when you want to work on your app locally:
sudo nano /etc/hosts
Add:
127.0.0.1 www.yourdomain.com
Save the hosts file
Restart your browser.
Restart rails using port 80:
rvmsudo rails s -p 80
Now when you go to www.yourdomain.com it should be hitting your local dev machine.
I get the same error on multi-word search too aesthetica