Backbone.js 有类似机制,区分 id 和 client id http://backbonejs.org/#Model-id
id model.id A special property of models, the id is an arbitrary string (integer id or UUID). If you set the id in the attributes hash, it will be copied onto the model as a direct property. Models can be retrieved by id from collections, and the id is used to generate model URLs by default.
cid model.cid A special property of models, the cid or client id is a unique identifier automatically assigned to all models when they're first created. Client ids are handy when the model has not yet been saved to the server, and does not yet have its eventual true id, but already needs to be visible in the UI.
直接去看这个公司在做什么项目。
Ctrl-C
中止 bundle,cd
到项目目录,执行 bundle --verbose
,如果是卡在网络就翻墙。不是的话贴日志上来。
options = {
url: "注意!结尾必须写逗号" ,
host: "如果不写逗号,那么会报错" ,
customer: {
name: "逗号很小, 不明显, 不小心删掉了,都很难发现" ,
number: "结尾还有很多括号, 好崩溃呀" ,
bills: [{
number: "苦逼", memo: "苦逼苦逼苦逼苦逼" },{
number: "苦逼", memo: "苦逼苦逼苦逼苦逼" },{
number: "苦逼", memo: "苦逼苦逼苦逼苦逼" },]},}
foreman export systemd
因为报错的地方是 PATCH 方法,我估计 form 表单的 url 不正确,但我不确定是什么原因引起的,试试去掉 route 里面这行:
get 'factor' => 'factors#new'
rake routes | grep factor
看看,还有路由代码。
贴一下表单代码
佛曰:那爍闍奢老離哆等菩寫俱僧俱室侄耶輸皤亦俱亦麼。
进入部署目录 bundle exec pumactl
是 Ruby,我参与了开发。
#12 楼 @treasurelife Test LOC: 0
Git 是个很抽象的系统,需要系统的学习 http://git-scm.com/book/zh/v1
回到 master 分支上就可以撤销 A 分支里做的任何本地 修改?
是的。
你应该把 README 从头到尾看一次 https://github.com/puma/puma
奥,最直接的登录 ssh 管理应该用 7 楼的方法。
虽然很厉害,但是太大了。
用 Foreman 在生产环境中管理和监控进程 http://chloerei.com/2014/12/15/foreman/
贴错误日志。
还没遇到必须用前端框架的需求,隔岸观火中。
@@ACCESS_TOKEN
和 @@JS_API_TICKET
哪里来的,明显要看这两个东西怎么设置的啊。