use param[:name] instead of param[:user][:name] [test: RED]
use param[:name] instead of param[:user][:name] [test: RED]

when generating token,
curl -d 'name=hogehoge' -d 'password=hugahuga'
is better than
curl -d 'user[name]=hogehoge' -d 'user[password]=hugahuga'

OpenYo/OpenYo-Rails,OpenYo/OpenYo-Rails,OpenYo/OpenYo-Rails