- Goto Start > Run
- Type in "system32" (without the quotations)
- Goto the folder called "drivers"
- Goto the folder called "etc"
The hosts file should be in there. Just open it up with notepad or something and add in 127.0.0.1 localhost.localdomain
Links:
Notes to self
The hosts file should be in there. Just open it up with notepad or something and add in 127.0.0.1 localhost.localdomain
Links:
>curl -X PUT -d "post[title]=first post from curl" "http://localhost:3000/posts/1" -H "Accept: text/xml"
>curl -d "post[title]=first post from curl" "http://localhost:3000/posts" -H "Accept: text/xml"
Browser and OS => request.env['HTTP_USER_AGENT']
Referring website => request.env["HTTP_REFERER"]
IP => request.remote_ip
Session id => session.session_id
:conditions => ["subscription_id IN (?)",subscription_ids.join(",")]SELECT * FROM memberships WHERE (subscription_id IN ('640,610,641,639,642,620,645')):conditions => "subscription_id IN (#{subscription_ids.join(',')})"SELECT * FROM memberships WHERE (subscription_id IN (640,610,641,639,642,620,645))