happypeter/onestep — pull request #501 by perfectfoolish (2014-01-28 07:39:19+00:00)
Title: generate the random secret key

refer to the book of railstutorial

http://railstutorial-china.org/chapter3.html#section-3-2