08 Oct '13, 4am

Sinatra: README (Japanese)

# アプリケーションが http://example.com/example で動作している場合 get '/foo' do request.body # クライアントによって送信されたリクエストボディ(下記参照) request.scheme # "http" request.script_name # "/example" request.path_info # "/foo" request.port # 80 request.request_method # "GET" request.query_string # "" request.content_length # request.bodyの長さ request.media_type # request.bodyのメディアタイプ request.host # "example.com" request.get? # true (他の動詞についても同様のメソッドあり) request.form_data? # false request["SOME_HEADER"] # SOME_HEADERヘッダの値 request.referer # クライアントのリファラまたは'/' request.user_agent # ユーザエージェント (:agent 条件によって使用される) request.cookies # ブラウザクッキーのハッシュ request.xhr? # Ajaxリクエストかどうか request.url # "http://example.com/example/foo" request.path # "/example/foo" request.ip # クライアントのIPアドレス request.secure? # false request.env # Rackによって渡された生のenvハッシュ end

Full article: http://www.sinatrarb.com/intro-jp.html#%E5%BC%B7%E5%88%B6...

Tweets

Aburiya Japanese BBQ Robertson Quay Singapore

Aburiya Japanese BBQ Robertson Quay Singapore

ladyironchef.com 08 Oct '13, 9am

Aburiya is a common name that I have always heard from friends when we talk about Japanese BBQ restaurant. Though I am a f...

Kazan Japanese Cuisine - Reviews and Ratings - ...

hungrygowhere.com 05 Oct '13, 7pm

Love everything about the teriyaki chicken from Kazan. Put it this way, my addiction was seriously enough to have it at le...

Japanese home chef recreates masterpieces and n...

soshiok.com 03 Oct '13, 6am

From the tradition of carving pumpkins to modern-day coffee foam designs, food art has always been around to not only make...

Mizuhara Kiko :)) He has a fondness for Japanes...

petewentz.com 15 Oct '13, 11am

lumostherock reblogged this from ahomeboyslife thoughts-freely likes this hermourning likes this tpdf reblogged this from ...

$14.90 Japanese buffet comes to Singapore! | Best and Top - HungryGoWhere

$14.90 Japanese buffet comes to Singapore! | Be...

hungrygowhere.com 06 Oct '13, 7pm

Must Tries: Hokkaido salmon hotpot, okonomiyaki and matcha tofu An all-you-can-eat authentic Japanese buffet lunch at only...

Onigiri (Japanese Rice Balls): Easy, step-by-step recipe for making salmon, okaka and umeboshi rice balls.

Onigiri (Japanese Rice Balls): Easy, step-by-st...

noobcook.com 01 Oct '13, 6am

I love these Japanese rice balls (known as “Onigiri ” /お握り in Japan) which are short-grain rice formed into triangular or ...

Japanese fast-food chain Yoshinoya to farm in Fukushima

Japanese fast-food chain Yoshinoya to farm in F...

soshiok.com 01 Oct '13, 7am

TOKYO - Major Japanese fast-food chain Yoshinoya said Tuesday it would grow rice and vegetables in Fukushima prefecture, h...