>>972
http://qiita.com/hosomichi/items/149b28c89a012ead26aa#2-3
を見て理解した上で>>964