Make Development Server Available To Outside Requests
Problem: You are developing an api and want to make it available to receive requests from your colleagues without pushing your changes to your Staging server.
Solution: Assuming you are all on the same network, you can make machine available to receive requests by following the steps below.
Make your local server available to them by running
$ rails s --binding 0.0.0.0
Tell them your IP, get it by running
$ ifconfig
in terminal. Your IP is under heading en0, the line starting with inet.
Alternatively, put this beast in your bash_profile
alias ipaddr="ifconfig | grep -oE "[0-9]{1