Title | Log in user | Log out user |
---|---|---|
Url | /api/sessions |
/api/sessions |
Method | POST |
DELETE |
Data Params |
|
none |
Success Response | ||
Error Response | ||
Sample Call |
using current_session
and viewing the @headers hash
Rails 3: headers
@headers=
{"HTTP_X_FORWARDED_FOR"=>"192.168.0.1",
"HTTP_USER_AGENT"=>
https://devcenter.heroku.com/articles/custom-domains http://thenomadicfreelancer.blogspot.com/2012/08/pointing-godaddy-domain-to-your-heroku.html
For each custom subdomain use domains:add
in the Terminal.
In this lab, we'll write a short program that will auto-hashtag our tweets for us. Put this line in a new Ruby file:
tweet = "We ate fifty cheeseburgers for lunch"
Your objective is to transform this tweet into the array ["#fifty", "#cheeseburgers", "#lunch"]
. You'll need to do three things:
In this lab, we'll write a short program that will auto-hashtag our tweets for us. Put this line in a new Ruby file:
tweet = "We ate fifty cheeseburgers for lunch"
Your objective is to transform this tweet into the array ["#fifty", "#cheeseburgers", "#lunch"]
. You'll need to do three things: